updated code so should work on windows, with exception of waiting on multiple connections

This commit is contained in:
PatchOfScotland
2023-02-08 14:46:03 +01:00
parent d787e37adc
commit a1451881ae
17 changed files with 280 additions and 205 deletions

View File

@ -239,9 +239,10 @@ class CorrectnessTests(unittest.TestCase):
with self.assertRaises(ValueError):
valid_non_existing_path("first")
make_dir("first/second")
test_path = os.path.join("first", "second")
make_dir(test_path)
with self.assertRaises(ValueError):
valid_non_existing_path("first/second")
valid_non_existing_path(test_path)
# TODO modify so tests for actual rule values
# Test valid_event can check given event dictionary