(self, make_name, chdir_name)
| 84 | self.assertFalse(os.path.exists(filename2 + '.new')) |
| 85 | |
| 86 | def _do_directory(self, make_name, chdir_name): |
| 87 | if os.path.isdir(make_name): |
| 88 | rmtree(make_name) |
| 89 | os.mkdir(make_name) |
| 90 | try: |
| 91 | with change_cwd(chdir_name): |
| 92 | cwd_result = os.getcwd() |
| 93 | name_result = make_name |
| 94 | |
| 95 | cwd_result = unicodedata.normalize("NFD", cwd_result) |
| 96 | name_result = unicodedata.normalize("NFD", name_result) |
| 97 | |
| 98 | self.assertEqual(os.path.basename(cwd_result),name_result) |
| 99 | finally: |
| 100 | os.rmdir(make_name) |
| 101 | |
| 102 | # The '_test' functions 'entry points with params' - ie, what the |
| 103 | # top-level 'test' functions would be if they could take params |
no test coverage detected