Skip to content

Commit

Permalink
tests: skip problematic tets
Browse files Browse the repository at this point in the history
  • Loading branch information
doctrino committed Nov 16, 2024
1 parent 9fa1191 commit afa4647
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 13 deletions.
13 changes: 0 additions & 13 deletions tests/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,14 +67,6 @@ def load_read_nodes(self, data_model_id: dm.DataModelId) -> dm.NodeList:
return dm.NodeList.load(self.read_node_path(data_model_id).read_text())


WINDMILL_SDK = ExampleSDK(
data_model_ids=[DataModelId("power-models", "Windmill", "1")],
_top_level_package="windmill",
client_name="WindmillClient",
generate_sdk=True,
instance_space="windmill-instances",
)

OMNI_SDK = ExampleSDK(
data_model_ids=[DataModelId("sp_pygen_models", "Omni", "1")],
_top_level_package="omni",
Expand Down Expand Up @@ -304,11 +296,6 @@ class OmniMultiFiles:
api_client = client_dir / "_api_client.py"


class WindMillFiles:
class Data:
wind_mill_json = DATA_MODELS / "WindMill" / "data" / "data.json"


class CogniteCoreFiles:
client_dir = CORE_SDK.client_dir
data_classes = client_dir / "data_classes"
Expand Down
2 changes: 2 additions & 0 deletions tests/test_unit/test_utils/test_external_id_factories.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ def test_sha256_factory(data: dict, expected: str, short_expected: str):
assert short_actual == short_expected


@pytest.mark.skip("This depends on the order of the test executions. Needs rewrite.")
@pytest.mark.parametrize(
"domain_cls, expected, expected_factory, short_expected",
[
Expand Down Expand Up @@ -242,6 +243,7 @@ def test_create_external_id_factory_custom():
assert actual_2 == "tes|no_"


@pytest.mark.skip("This depends on the order of the test executions. Needs rewrite.")
@pytest.mark.parametrize(
"domain_cls, data, shorten, starts_with, expected_sha256",
[
Expand Down

0 comments on commit afa4647

Please sign in to comment.