You've already forked hotpocket
BTHLABS-66: Prepping for public release: Take one
This commit is contained in:
@@ -17,3 +17,15 @@ class AuthKeysTestingService:
|
||||
|
||||
assert auth_key.created_at is not None
|
||||
assert auth_key.updated_at is not None
|
||||
|
||||
def assert_deleted(self,
|
||||
pk: uuid.UUID,
|
||||
):
|
||||
query_set = AuthKey.objects.filter(pk=pk)
|
||||
assert query_set.exists() is False
|
||||
|
||||
def assert_exists(self,
|
||||
pk: uuid.UUID,
|
||||
):
|
||||
query_set = AuthKey.objects.filter(pk=pk)
|
||||
assert query_set.count() == 1
|
||||
|
||||
@@ -7,8 +7,8 @@ license = "Apache-2.0"
|
||||
readme = "README.md"
|
||||
|
||||
[tool.poetry.dependencies]
|
||||
python = "^3.12"
|
||||
pydantic = "2.12.2"
|
||||
python = "^3.13"
|
||||
pydantic = "2.12.4"
|
||||
|
||||
[tool.poetry.plugins.pytest11]
|
||||
hotpocket_backend = "hotpocket_backend_testing.plugin"
|
||||
|
||||
Reference in New Issue
Block a user