Skip to content

Commit 1522e5d

Browse files
authored
MRG: Merge pull request #727 from octue/ignore-trivial-windows-test-failures
Skip `test_reset_uuid_and_datetime` tests on Windows
2 parents 0e40550 + cbed366 commit 1522e5d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/cloud/events/test_attributes.py

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import os
12
import unittest
23

34
from octue.cloud.events.attributes import QuestionAttributes, ResponseAttributes
@@ -104,6 +105,7 @@ def test_to_serialised_attributes(self):
104105
},
105106
)
106107

108+
@unittest.skipIf(condition=os.name == "nt", reason="See issue https://github.com/octue/octue-sdk-python/issues/229")
107109
def test_reset_uuid_and_datetime(self):
108110
"""Test that the `reset_uuid_and_datetime` method changes the UUID and datetime."""
109111
attributes = QuestionAttributes(sender=SENDER, recipient=RECIPIENT, question_uuid=QUESTION_UUID)
@@ -189,6 +191,7 @@ def test_to_serialised_attributes(self):
189191
},
190192
)
191193

194+
@unittest.skipIf(condition=os.name == "nt", reason="See issue https://github.com/octue/octue-sdk-python/issues/229")
192195
def test_reset_uuid_and_datetime(self):
193196
"""Test that the `reset_uuid_and_datetime` method changes the UUID and datetime."""
194197
attributes = ResponseAttributes(sender=SENDER, recipient=RECIPIENT, question_uuid=QUESTION_UUID)

0 commit comments

Comments
 (0)