def test_path_is_no_bytestring(self):
     status, path_result = monitors.path()
     assert status == 'check main status page for broken perms / values'
     assert path_result[0][3].endswith('should be a bytestring!')
Пример #2
0
 def test_path_is_no_bytestring(self):
     status, path_result = monitors.path()
     assert status == 'check main status page for broken perms / values'
     assert path_result[0][3].endswith('should be a bytestring!')
 def test_path(self, mock_exists, mock_access):
     status, path_result = monitors.path()
     assert status == ''
Пример #4
0
 def test_path(self, mock_exists, mock_access):
     status, path_result = monitors.path()
     assert status == ''