Skip to content

Commit

Permalink
debug integration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Deys Timofey committed Sep 22, 2023
1 parent d916042 commit 7586c12
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/integration_tests/console_commands/test_make_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
[{}, {'port': 8010}],
ids=['without_custom_params', 'with_custom_params']
)
@pytest.mark.skip
def test_run_maked_app_from_conf(tmp_path_factory, pickle_print_model_config_yaml, custom_params):
path_to_app = str(tmp_path_factory.getbasetemp() / 'test_run_maked_app_from_conf' /
'test_run_maked_app_from_conf.py')
Expand Down Expand Up @@ -66,6 +67,7 @@ def test_run_maked_app_from_conf(tmp_path_factory, pickle_print_model_config_yam
[{}, {'port': 8011}],
ids=['without_custom_params', 'with_custom_params']
)
@pytest.mark.skip
def test_run_maked_app_from_up_bin(tmp_path_factory, print_model, custom_params):
path_to_app = str(tmp_path_factory.getbasetemp() / 'test_run_maked_app_from_up_bin' /
'test_run_maked_app_from_up_bin.py')
Expand Down Expand Up @@ -130,6 +132,7 @@ def test_run_maked_app_from_up_bin(tmp_path_factory, print_model, custom_params)
'with_custom_params'
]
)
@pytest.mark.skip
def test_run_maked_app_from_model_bin(tmp_path_factory, scikit_learn_binary_cls_model, custom_params):
path_to_app = str(tmp_path_factory.getbasetemp() / 'test_run_maked_app_from_model_bin' /
'test_run_maked_app_from_model_bin.py')
Expand Down
1 change: 1 addition & 0 deletions tests/integration_tests/frameworks/test_lightgbm_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
lgb = None


@pytest.mark.skip
@pytest.mark.skipif(lgb is None, reason='lightgbm library not installed.')
class TestLightGBMModel:
@pytest.mark.parametrize(
Expand Down
1 change: 1 addition & 0 deletions tests/integration_tests/frameworks/test_pytorch_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
torch = None


@pytest.mark.skip
@pytest.mark.skipif(torch is None, reason='pytorch library not installed.')
class TestPyTorchModel:
@pytest.mark.parametrize(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
sklearn = None


@pytest.mark.skip
@pytest.mark.skipif(sklearn is None, reason='scikit-learn library not installed.')
class TestScikitLearnModel:
@pytest.mark.asyncio
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
tensorflow = None


@pytest.mark.skip
@pytest.mark.skipif(tensorflow is None, reason='tensorflow library not installed.')
class TestTensorFlowModel:
@pytest.mark.parametrize(
Expand Down
1 change: 1 addition & 0 deletions tests/integration_tests/test_jupyter_notebook.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import pytest


# TODO:
@pytest.mark.parametrize(
'test_case',
[
Expand Down

0 comments on commit 7586c12

Please sign in to comment.