Conditions | 1 |
Total Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | from django.test.utils import override_settings |
||
25 | def test_custom_data(self): |
||
26 | """Adding custom data to a model field works as expected.""" |
||
27 | action.send(self.user, verb='was created', quest='to be awesome') |
||
28 | self.assertEqual(CustomAction.objects.count(), 1) |
||
29 | self.assertEqual(CustomAction.objects.first().quest, 'to be awesome') |
||
30 |