Skip to content

Commit

Permalink
Move test_pip_check to common tests
Browse files Browse the repository at this point in the history
  • Loading branch information
danielhollas committed Apr 8, 2024
1 parent 52a9f86 commit bc1ec06
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 0 additions & 4 deletions tests/test-base.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,6 @@ def test_create_conda_environment(aiidalab_exec, nb_user):
assert f"/home/{nb_user}/.conda/envs/tmp" in output


def test_pip_check(aiidalab_exec):
aiidalab_exec("pip check")


def test_correct_aiida_version_installed(aiidalab_exec, aiida_version):
cmd = "mamba list --json --full-name aiida-core"
info = json.loads(aiidalab_exec(cmd))[0]
Expand Down
4 changes: 4 additions & 0 deletions tests/test-common.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,7 @@ def test_ssh_agent_is_running(aiidalab_exec, nb_user):

# also check only one ssh-agent process is running
assert len(output.splitlines()) == 1


def test_pip_check(aiidalab_exec):
aiidalab_exec("pip check")

0 comments on commit bc1ec06

Please sign in to comment.