Commit 75babf8d by Peter Fogg

Fix a small type error in catalog tests.

parent 9d71c524
......@@ -46,7 +46,7 @@ class CurrencyTests(TestCase):
def test_str(self):
""" 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'
instance = Currency(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