Пример #1
0
 def test_log_file_path_6(self):
     app_paths = AppDataPaths()
     app_paths.name = ''
     assert app_paths.get_log_file_path() == os.path.join(
         Path.home(), '.appdata', 'logs', 'app.log')
Пример #2
0
 def test_log_file_path_5(self):
     app_paths = AppDataPaths()
     assert app_paths.get_log_file_path(name='something') == os.path.join(
         Path.home(), '.appdata', 'logs', 'something.log')