コード例 #1
0
ファイル: test_testname.py プロジェクト: hse-sqa/hse-mongo
 def test_unix_file_with_ext(self):
     unix_file = "test/found/under/unix.sh"
     expected = [unix_file, "test\\found\\under\\unix.sh"]
     self.assertEqual(expected, testname_utils.denormalize_test_file(unix_file))
コード例 #2
0
ファイル: test_testname.py プロジェクト: hse-sqa/hse-mongo
 def test_windows_file_with_non_exe_ext(self):
     windows_file = "test\\found\\under\\windows.sh"
     expected = ["test/found/under/windows.sh", windows_file]
     self.assertEqual(expected, testname_utils.denormalize_test_file(windows_file))
コード例 #3
0
ファイル: test_testname.py プロジェクト: hse-sqa/hse-mongo
 def test_unix_file_is_denormalized(self):
     unix_file = "test/found/under/unix"
     expected = [unix_file, "test\\found\\under\\unix.exe"]
     self.assertEqual(expected, testname_utils.denormalize_test_file(unix_file))
コード例 #4
0
ファイル: test_testname.py プロジェクト: hse-sqa/hse-mongo
 def test_windows_file_is_denormalized(self):
     windows_file = "test\\found\\under\\windows.exe"
     expected = ["test/found/under/windows", windows_file]
     self.assertEqual(expected, testname_utils.denormalize_test_file(windows_file))