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