Skip to content

Commit

Permalink
Make sure apps are functional
Browse files Browse the repository at this point in the history
  • Loading branch information
sonicaj committed Sep 21, 2024
1 parent 16c0af0 commit 1409bca
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/api2/test_docker_setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,11 @@ def test_apps_being_reported():
assert call('app.available', [], {'count': True}) != 0


@pytest.mark.dependency(depends=['docker_setup'])
def test_apps_are_running():
assert call('docker.status')['status'] == 'RUNNING'


def test_unset_docker_pool(docker_pool):
docker_config = call('docker.update', {'pool': None}, job=True)
assert docker_config['pool'] is None, docker_config

0 comments on commit 1409bca

Please sign in to comment.