File tree Expand file tree Collapse file tree 3 files changed +9
-23
lines changed Expand file tree Collapse file tree 3 files changed +9
-23
lines changed Original file line number Diff line number Diff line change @@ -118,6 +118,13 @@ jobs:
118
118
119
119
- name : Calculate Test Coverage
120
120
run : poetry run nox -s coverage -- -- --db-version ${{ matrix.exasol-version }}
121
+ env :
122
+ PYTEST_ADDOPTS="
123
+ -W 'ignore::DeprecationWarning:luigi:'
124
+ -W 'ignore::DeprecationWarning:pkg_resources:'
125
+ -W 'ignore:pkg_resources is deprecated as an API:DeprecationWarning'
126
+ -W 'ignore:Deprecated call to \`pkg_resources.declare_namespace:DeprecationWarning'
127
+ -W 'ignore::DeprecationWarning:exasol_integration_test_docker_environment:'"
121
128
122
129
- name : Upload Artifacts
123
130
uses : actions/upload-artifact@v3
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ exasol-transformers-extension = "^2.0.0"
33
33
transformers = {extras = [" torch" ], version = " ^4.36.2" }
34
34
exasol-sagemaker-extension = " >=0.10.0,<1.0.0"
35
35
36
- exasol-integration-test-docker-environment = " >=3.2 .0"
36
+ exasol-integration-test-docker-environment = " >=2.0 .0"
37
37
requests = " >=2.31.0,<2.32.0"
38
38
types-requests = " ^2.31.0.6"
39
39
ifaddr = " ^0.2.0"
Original file line number Diff line number Diff line change @@ -325,29 +325,8 @@ def test_itde_recreation_without_take_down(docker_container):
325
325
assert exec_result .exit_code == 0 , exec_result .output
326
326
327
327
328
- _IGNORE_WARNINGS1 = (
329
- '-W "ignore::DeprecationWarning:luigi.*:" '
330
- '-W "ignore::DeprecationWarning:pkg_resources.*:" '
331
- '-W "ignore:pkg_resources is deprecated as an API:DeprecationWarning" '
332
- '-W "ignore::DeprecationWarning:exasol_integration_test_docker_environment.*:"'
333
- )
334
-
335
-
336
- _IGNORE_WARNINGS = " " .join (
337
- f'-W "ignore:{ w } "' for w in [
338
- ":DeprecationWarning:luigi.*:" ,
339
- ":DeprecationWarning:pkg_resources.*:" ,
340
- "pkg_resources is deprecated as an API:DeprecationWarning" ,
341
- ":DeprecationWarning:exasol_integration_test_docker_environment.*:" ,
342
- ])
343
-
344
-
345
- def test_x1 ():
346
- print (f'{ _IGNORE_WARNINGS } ' )
347
- assert _IGNORE_WARNINGS == _IGNORE_WARNINGS1
348
-
349
328
def test_itde_stop_and_restart (docker_container ):
350
- exec_result = docker_container .exec_run (f "python3 { _IGNORE_WARNINGS } /tmp/itde_stop_and_restart.py" )
329
+ exec_result = docker_container .exec_run ("python3 /tmp/itde_stop_and_restart.py" )
351
330
assert exec_result .exit_code == 0 , exec_result .output
352
331
353
332
You can’t perform that action at this time.
0 commit comments