Exemplo n.º 1
0
 def test_last_fixture(self):
     user = fixture(User)
     assert user == last_fixture(User)
Exemplo n.º 2
0
 def test_last_fixture(self):
     user = fixture(User)
     assert user == last_fixture(User)
Exemplo n.º 3
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
Exemplo n.º 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