| Conditions | 1 |
| Total Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | import sys |
||
| 19 | def test_from_registry(self): |
||
| 20 | """ |
||
| 21 | Upon normal installation it will leave a registry entry to detect. |
||
| 22 | We can use this to find the actual Rainmeter. |
||
| 23 | Since we use the default installation path, there should no difference |
||
| 24 | """ |
||
| 25 | registry_program_path = program_path_provider._get_rainmeter_path_from_registry() |
||
| 26 | |||
| 27 | self.assertEqual(registry_program_path, "C:\\Program Files\\Rainmeter") |
||
| 28 | |||
| 38 |