diff --git a/.env.test b/.env.test index 479ed68..743b1ae 100644 --- a/.env.test +++ b/.env.test @@ -7,4 +7,4 @@ PYTEST_ADMIN_PASSWORD=start123 PYTEST_DEFAULT_MASTER_IMAGE=python/base PYTEST_ASYNC_MAX_RETRIES=5 PYTEST_ASYNC_RETRY_DELAY_MILLIS=500 -PYTEST_HUB_VERSION=0.8.43 +PYTEST_HUB_VERSION=0.10.1 diff --git a/pyproject.toml b/pyproject.toml index 416dba7..c3c86f0 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -3,7 +3,7 @@ name = "flame-hub-client" version = "0.2.15" description = "HTTP client for interacting with FLAME Hub services." authors = [ - { name = "Maximilian Jugl", email = "Maximilian.Jugl@medizin.uni-leipzig.de" }, + { name = "Maximilian Jugl" }, { name = "Paul Brassel", email = "Paul.Brassel@medizin.uni-leipzig.de" } ] readme = "README.md" diff --git a/tests/test_core.py b/tests/test_core.py index c78df06..47396c2 100644 --- a/tests/test_core.py +++ b/tests/test_core.py @@ -128,6 +128,11 @@ def analysis_node_includables(): @pytest.fixture() def analysis_code_bucket(core_client, analysis): + def _wait_for_buckets(): + assert len(core_client.find_analysis_buckets(filter={"analysis_id": analysis.id})) != 0 + + assert_eventually(_wait_for_buckets) + analysis_buckets = core_client.find_analysis_buckets(filter={"analysis_id": analysis.id}) code_buckets = [bucket for bucket in analysis_buckets if bucket.type == AnalysisBucketType.CODE] @@ -344,7 +349,7 @@ def test_update_project(core_client, project): new_node = core_client.update_project(project.id, name=new_name) assert project != new_node - assert new_node.name == new_name + assert new_node.name.lower() == new_name.lower() def test_get_project_nodes(core_client, project_node, project_node_includables): @@ -421,7 +426,7 @@ def test_update_analysis(core_client, analysis): new_analysis = core_client.update_analysis(analysis.id, name=new_name, image_command_arguments=args) assert analysis != new_analysis - assert new_analysis.name == new_name + assert new_analysis.name.lower() == new_name.lower() assert new_analysis.image_command_arguments == args # Note that args is modified during updating the analysis.