diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index 100de1ed..bc697572 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -28,4 +28,4 @@ jobs: pip install -r test-requirements.txt - name: Test with pytest run: | - pytest --cov={{packageName}} + pytest --cov=cosmotech_api diff --git a/test/test_scenariorunresult_api.py b/test/test_scenariorunresult_api.py deleted file mode 100644 index 5c76e56a..00000000 --- a/test/test_scenariorunresult_api.py +++ /dev/null @@ -1,43 +0,0 @@ -""" - Cosmo Tech Platform API - - Cosmo Tech Platform API # noqa: E501 - - The version of the OpenAPI document: 3.1.13 - Contact: platform@cosmotech.com - Generated by: https://openapi-generator.tech -""" - - -import unittest - -import cosmotech_api -from cosmotech_api.api.scenariorunresult_api import ScenariorunresultApi # noqa: E501 - - -class TestScenariorunresultApi(unittest.TestCase): - """ScenariorunresultApi unit test stubs""" - - def setUp(self): - self.api = ScenariorunresultApi() # noqa: E501 - - def tearDown(self): - pass - - def test_get_scenario_run_result(self): - """Test case for get_scenario_run_result - - Get a ScenarioRunResult in the Organization # noqa: E501 - """ - pass - - def test_send_scenario_run_result(self): - """Test case for send_scenario_run_result - - Create a new ScenarioRunResult in the Organization # noqa: E501 - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_user_api.py b/test/test_user_api.py deleted file mode 100644 index 75c5e032..00000000 --- a/test/test_user_api.py +++ /dev/null @@ -1,99 +0,0 @@ -""" - Cosmo Tech Platform API - - Cosmo Tech Platform API # noqa: E501 - - The version of the OpenAPI document: 2.3.17 - Contact: platform@cosmotech.com - Generated by: https://openapi-generator.tech -""" - - -import unittest - -import cosmotech_api -from cosmotech_api.api.user_api import UserApi # noqa: E501 - - -class TestUserApi(unittest.TestCase): - """UserApi unit test stubs""" - - def setUp(self): - self.api = UserApi() # noqa: E501 - - def tearDown(self): - pass - - def test_authorize_user(self): - """Test case for authorize_user - - Authorize an User with OAuth2. Delegated to configured OAuth2 service # noqa: E501 - """ - pass - - def test_find_all_users(self): - """Test case for find_all_users - - List all Users # noqa: E501 - """ - pass - - def test_find_user_by_id(self): - """Test case for find_user_by_id - - Get the details of an user # noqa: E501 - """ - pass - - def test_get_current_user(self): - """Test case for get_current_user - - Get the details of the logged-in User # noqa: E501 - """ - pass - - def test_get_organization_current_user(self): - """Test case for get_organization_current_user - - Get the details of a logged-in User with roles for an Organization # noqa: E501 - """ - pass - - def test_get_workspace_current_user(self): - """Test case for get_workspace_current_user - - Get the details of the logged-in user with roles for a Workspace # noqa: E501 - """ - pass - - def test_register_user(self): - """Test case for register_user - - Register a new user # noqa: E501 - """ - pass - - def test_test_platform(self): - """Test case for test_platform - - test platform API call # noqa: E501 - """ - pass - - def test_unregister_user(self): - """Test case for unregister_user - - Unregister an user # noqa: E501 - """ - pass - - def test_update_user(self): - """Test case for update_user - - Update a User # noqa: E501 - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_validator_api.py b/test/test_validator_api.py deleted file mode 100644 index c02bd613..00000000 --- a/test/test_validator_api.py +++ /dev/null @@ -1,92 +0,0 @@ -""" - Cosmo Tech Platform API - - Cosmo Tech Platform API # noqa: E501 - - The version of the OpenAPI document: 3.1.13 - Contact: platform@cosmotech.com - Generated by: https://openapi-generator.tech -""" - - -import unittest - -import cosmotech_api -from cosmotech_api.api.validator_api import ValidatorApi # noqa: E501 - - -class TestValidatorApi(unittest.TestCase): - """ValidatorApi unit test stubs""" - - def setUp(self): - self.api = ValidatorApi() # noqa: E501 - - def tearDown(self): - pass - - def test_create_validator(self): - """Test case for create_validator - - Register a new validator # noqa: E501 - """ - pass - - def test_create_validator_run(self): - """Test case for create_validator_run - - Register a new validator run # noqa: E501 - """ - pass - - def test_delete_validator(self): - """Test case for delete_validator - - Delete a validator # noqa: E501 - """ - pass - - def test_delete_validator_run(self): - """Test case for delete_validator_run - - Delete a validator run # noqa: E501 - """ - pass - - def test_find_all_validator_runs(self): - """Test case for find_all_validator_runs - - List all Validator Runs # noqa: E501 - """ - pass - - def test_find_all_validators(self): - """Test case for find_all_validators - - List all Validators # noqa: E501 - """ - pass - - def test_find_validator_by_id(self): - """Test case for find_validator_by_id - - Get the details of a validator # noqa: E501 - """ - pass - - def test_find_validator_run_by_id(self): - """Test case for find_validator_run_by_id - - Get the details of a validator run # noqa: E501 - """ - pass - - def test_run_validator(self): - """Test case for run_validator - - Run a Validator # noqa: E501 - """ - pass - - -if __name__ == '__main__': - unittest.main()