| Total Complexity | 2 |
| Total Lines | 16 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | # coding: utf8 |
||
| 26 | class ProcessWideStateTestCase(unittest.TestCase): |
||
| 27 | def test_working_directory(self): |
||
| 28 | a = ChdirAction("a") |
||
| 29 | b = ChdirAction("b") |
||
| 30 | a.add_dependency(b) |
||
| 31 | |||
| 32 | report = execute(a) |
||
| 33 | self.assertEqual(report.get_action_status(a).output, report.get_action_status(b).output) |
||
| 34 | |||
| 35 | def test_environment(self): |
||
| 36 | a = ChangeEnvironAction("a") |
||
| 37 | b = ChangeEnvironAction("b") |
||
| 38 | a.add_dependency(b) |
||
| 39 | |||
| 40 | report = execute(a) |
||
| 41 | self.assertEqual(report.get_action_status(a).output, report.get_action_status(b).output) |
||
| 42 |