Definition at line 8 of file test_shipGeoConfig.py.
◆ setUp()
test_shipGeoConfig.TestSingleConfig.setUp |
( |
|
self | ) |
|
Definition at line 9 of file test_shipGeoConfig.py.
9 def setUp(self):
10 self.key = "bb"
11 with ConfigRegistry.register_config("bb") as c:
12 c.length = 10
13 c.width = 20
14
◆ tearDown()
test_shipGeoConfig.TestSingleConfig.tearDown |
( |
|
self | ) |
|
◆ test_key()
test_shipGeoConfig.TestSingleConfig.test_key |
( |
|
self | ) |
|
Definition at line 18 of file test_shipGeoConfig.py.
18 def test_key(self):
19 assert self.key in ConfigRegistry.keys()
20
◆ test_len()
test_shipGeoConfig.TestSingleConfig.test_len |
( |
|
self | ) |
|
Definition at line 15 of file test_shipGeoConfig.py.
15 def test_len(self):
16 assert len(ConfigRegistry.keys()) == 1, list(ConfigRegistry.keys())
17
◆ test_value()
test_shipGeoConfig.TestSingleConfig.test_value |
( |
|
self | ) |
|
Definition at line 21 of file test_shipGeoConfig.py.
21 def test_value(self):
22 assert ConfigRegistry[self.key].length == 10
23
◆ key
test_shipGeoConfig.TestSingleConfig.key |
The documentation for this class was generated from the following file: