|
@@ -23,7 +23,8 @@ class APITestCase(TestCase):
|
|
|
|
|
|
class TestContrib(TestCase):
|
|
|
def test_comma_separatedcharfield(self):
|
|
|
- co = Contrib(name='foo', orientations=['SO', 'NE'])
|
|
|
+ co = Contrib(name='foo', orientations=['SO', 'NE'],
|
|
|
+ contrib_type=Contrib.CONTRIB_CONNECT)
|
|
|
co.save()
|
|
|
self.assertEqual(
|
|
|
Contrib.objects.get(name='foo').orientations,
|