(self, method)
| 81 | assert rc == 0, 'Error re-creating trash: %s %s' % (stdout, stderr) |
| 82 | |
| 83 | def teardown_method(self, method): |
| 84 | self.__cleanup() |
| 85 | # Clean up trash directory so that further tests aren't affected |
| 86 | rc, stdout, stderr = exec_process( |
| 87 | "hadoop fs -rmr /user/{0}/.Trash/".format(getpass.getuser())) |
| 88 | assert rc == 0, 'Error deleting Trash: %s %s' % (stdout, stderr) |
| 89 | super().teardown_method(method) |
| 90 | |
| 91 | def create_encryption_zone(self, key, path): |
| 92 | """Creates an encryption zone using key 'key' on path 'path'""" |
nothing calls this directly
no test coverage detected