| Total Complexity | 5 |
| Total Lines | 8 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | import unittest |
||
| 7 | class EnvInspectorTestCase(unittest.TestCase): |
||
| 8 | def test_package_name(self): |
||
| 9 | with open(data_dir('environment.yml')) as fileobj: |
||
| 10 | assert EnvInspector('environment.yml', fileobj).name == 'stats' |
||
| 11 | |||
| 12 | def test_version(self): |
||
| 13 | with open(data_dir('environment.yml')) as fileobj: |
||
| 14 | self.assertIsInstance(EnvInspector('environment.yml', fileobj).version, str) |
||
| 15 | |||
| 36 |