| Conditions | 1 |
| Total Lines | 10 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | """This module is to test the program path provider.""" |
||
| 23 | def test_from_registry(self): |
||
| 24 | r""" |
||
| 25 | Upon normal installation it will leave a registry entry to detect. |
||
| 26 | |||
| 27 | We can use this to find the actual Rainmeter. |
||
| 28 | Since we use the default installation path, there should no difference |
||
| 29 | """ |
||
| 30 | registry_program_path = PROGRAM_PATH_PROVIDER.get_rm_path_from_registry() |
||
| 31 | |||
| 32 | self.assertEqual(registry_program_path, "C:\\Program Files\\Rainmeter") |
||
| 33 | |||
| 44 |