Skip to content

Commit e97d0e7

Browse files
committed
Fix tests
1 parent 68f1010 commit e97d0e7

8 files changed

Lines changed: 8 additions & 21 deletions

File tree

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
pytest
2+
pytest-cov
3+
pytest-randomly

libraries/cloudharness-common/tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tox]
2-
envlist = py3{9,}
2+
envlist = py3{9,12}
33

44
[testenv]
55
deps=-r{toxinidir}/test-requirements.txt

libraries/cloudharness-utils/cloudharness_utils/testing/util.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11

2-
from cgi import test
32
import os
43
from os.path import dirname as dn
54

libraries/cloudharness-utils/tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tox]
2-
envlist = py3{9,}
2+
envlist = py3{9,12}
33

44
[pytest]
55
addopts = --ignore-glob=**/application-templates/**

tools/cloudharness-test/tox.ini

Lines changed: 0 additions & 15 deletions
This file was deleted.

tools/deployment-cli-tools/tests/test_codefresh.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ def test_create_codefresh_configuration():
8686
RESOURCES, STATIC_IMAGES_PATH, "my-common"))
8787

8888
steps = l1_steps["build_application_images"]["steps"]
89-
assert len(steps) == 14
89+
assert len(steps) == 13
9090
assert "myapp" in steps
9191
assert "samples" in steps
9292
assert "accounts" in steps

tools/deployment-cli-tools/tests/test_skaffold.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ def test_create_skaffold_configuration():
3838
output_path=OUT
3939
)
4040
assert os.path.exists(os.path.join(OUT, 'skaffold.yaml'))
41-
exp_apps = ('accounts', 'samples', 'workflows', 'myapp', 'common', 'nfsserver')
41+
exp_apps = ('accounts', 'samples', 'workflows', 'myapp', 'common')
4242
assert len(sk['build']['artifacts']) == len(
4343
exp_apps) + len(values[KEY_TASK_IMAGES])
4444
assert 'reg' in sk['build']['artifacts'][0]['image']

tools/deployment-cli-tools/tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tox]
2-
envlist = py3.9
2+
envlist = py3{9,12}
33

44
[pytest]
55
addopts = --ignore-glob=**/application-templates/**

0 commit comments

Comments
 (0)