def test_unique(self): f1 = LetterFactory() f2 = LetterFactory() self.assertNotEqual(run_factory(f1, 20), run_factory(f2, 20))
def test_seed_works(self): f1 = LetterFactory(15) f2 = LetterFactory(15) self.assertEqual(run_factory(f1, 20), run_factory(f2, 20))