Commit 462b89cf by Peter Fogg

Merge pull request #74 from edx/peter-fogg/fix-type-typo

Fix a small type error in catalog tests.
parents 9d71c524 75babf8d
...@@ -46,7 +46,7 @@ class CurrencyTests(TestCase): ...@@ -46,7 +46,7 @@ class CurrencyTests(TestCase):
def test_str(self): def test_str(self):
""" Verify casting an instance to a string returns a string containing the ID and name of the currency. """ """ Verify casting an instance to a string returns a string containing the ID and name of the currency. """
code = 'USD', code = 'USD'
name = 'U.S. Dollar' name = 'U.S. Dollar'
instance = Currency(code=code, name=name) instance = Currency(code=code, name=name)
self.assertEqual(str(instance), '{code} - {name}'.format(code=code, name=name)) self.assertEqual(str(instance), '{code} - {name}'.format(code=code, name=name))
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment