We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 03da23e commit eb02b40Copy full SHA for eb02b40
1 file changed
test/test_config.py
@@ -1,5 +1,7 @@
1
import copy
2
+import os
3
import unittest
4
+from pathlib import Path
5
6
import yaml
7
from seml import utils
@@ -12,6 +14,15 @@
12
14
13
15
16
class TestParseConfigDicts(unittest.TestCase):
17
+ @classmethod
18
+ def setUpClass(cls):
19
+ cls._orig_cwd = os.getcwd()
20
+ os.chdir(Path(__file__).parent)
21
+
22
23
+ def tearDownClass(cls):
24
+ os.chdir(cls._orig_cwd)
25
26
SIMPLE_CONFIG_WITH_PARAMETER_COLLECTIONS = (
27
"resources/config/config_with_parameter_collections.yaml"
28
)
0 commit comments