From a4de833ee6f609d7ed0dd6c3c5bea6bd33d15c63 Mon Sep 17 00:00:00 2001 From: atashnezhad Date: Wed, 21 Jun 2023 19:37:59 -0500 Subject: [PATCH] move script run into the test folder --- tests/{test_run_all.py => script_run_all.py} | 2 +- tests/test_run.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) rename tests/{test_run_all.py => script_run_all.py} (99%) diff --git a/tests/test_run_all.py b/tests/script_run_all.py similarity index 99% rename from tests/test_run_all.py rename to tests/script_run_all.py index b160624..80d0866 100644 --- a/tests/test_run_all.py +++ b/tests/script_run_all.py @@ -163,5 +163,5 @@ def main(): ) -def test_run_whole(): +if __name__ == "__main__": main() diff --git a/tests/test_run.py b/tests/test_run.py index a545e9a..71ffd53 100644 --- a/tests/test_run.py +++ b/tests/test_run.py @@ -16,9 +16,9 @@ from neural_network_model.process_data import Preprocessing -@pytest.mark.skip +@pytest.mark.skip(reason="no way of currently testing this") def test_run(): - # check if a dir name test_resouces exists if not create one + # check if a dir name test_resources exists if not create one if not os.path.exists(Path(__file__).parent / "test_resources"): os.mkdir(Path(__file__).parent / "test_resources")