class SequenceFieldTest(TestCase):
    def setUp(self):
        self.user = mommy.make(get_user_model())
        self.test_model = County(name='test county')
        self.test_model.save()

    def test_get_prepared_value(self):
        seq = SequenceField()
        self.assertEqual(seq.get_prep_value(value=''), None)
 def setUp(self):
     self.user = mommy.make(get_user_model())
     self.test_model = County(name='test county')
     self.test_model.save()