Skip to content

Commit

Permalink
tests: remove check on settings.container_sock
Browse files Browse the repository at this point in the history
CI and userland testing use different values for the 'container_sock', so
remove it.

Signed-off-by: Eric Fahlgren <[email protected]>
  • Loading branch information
efahl committed Oct 16, 2024
1 parent ae7984a commit b9dd768
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,10 +106,6 @@ def mocked_redis_client(*args, **kwargs):
monkeypatch.setattr("asu.util.get_redis_client", mocked_redis_client)
monkeypatch.setattr("asu.routers.api.get_redis_client", mocked_redis_client)

from os import getuid

assert settings.container_sock == f"/run/user/{getuid()}/podman/podman.sock"

yield real_app


Expand Down

0 comments on commit b9dd768

Please sign in to comment.