def test_last_fixture(self):
     user = fixture(User)
     assert user == last_fixture(User)
Exemple #2
0
 def test_last_fixture(self):
     user = fixture(User)
     assert user == last_fixture(User)
 def test_supports_deep_inheritance(self):
     admin = fixture(Admin)
     assert last_fixture(User) == admin
     assert last_fixture(Admin) == admin
     assert last_fixture(Entity) == admin
Exemple #4
0
 def test_supports_deep_inheritance(self):
     admin = fixture(Admin)
     assert last_fixture(User) == admin
     assert last_fixture(Admin) == admin
     assert last_fixture(Entity) == admin