Skip to content

Commit

Permalink
Fix test; delete Deno env var
Browse files Browse the repository at this point in the history
  • Loading branch information
amh4r committed Oct 28, 2023
1 parent 7adcd05 commit 466d20e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 0 additions & 2 deletions inngest/_internal/env.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
class EnvKey(Enum):
CF_PAGES = "CF_PAGES"
CONTEXT = "CONTEXT"
DENO_DEPLOYMENT_ID = "DENO_DEPLOYMENT_ID"
ENVIRONMENT = "ENVIRONMENT"
FLASK_ENV = "FLASK_ENV"
VERCEL_ENV = "VERCEL_ENV"
Expand Down Expand Up @@ -35,7 +34,6 @@ def _starts_with(key: EnvKey, value: str) -> _EnvCheck:
_PROD_CHECKS: Final[list[_EnvCheck]] = [
_equals(EnvKey.CF_PAGES, "1"),
_equals(EnvKey.FLASK_ENV, "production"),
_is_truthy(EnvKey.DENO_DEPLOYMENT_ID),
_starts_with(EnvKey.CONTEXT, "prod"),
_starts_with(EnvKey.ENVIRONMENT, "prod"),
_starts_with(EnvKey.VERCEL_ENV, "prod"),
Expand Down
1 change: 1 addition & 0 deletions tests/cases/wait_for_event_timeout.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ def run_test(_self: object) -> None:
client.send(inngest.Event(name=event_name))
run_id = state.wait_for_run_id()
helper.client.wait_for_run_status(run_id, helper.RunStatus.COMPLETED)
assert state.result is None

return Case(
event_name=event_name,
Expand Down

0 comments on commit 466d20e

Please sign in to comment.