def test_output_directory_2(self):

        dummy_user = dbutil.random_name('user')
        expected_path = os.path.join(dbutil.TEST_RESOURCES_ROOT,
                                     dummy_user, 'output', 'module', 'suite')
        old_user = os.environ['USER']

        try:
            os.environ['USER'] = dummy_user
            path = dbutil.output_directory('module', 'suite')
            self.check_directory(path, expected_path)
        finally:
            os.environ['USER'] = old_user
            os.removedirs(path)
Return a copy ("clone") of the MAC object.
dataset/ETHPy150Open GeoscienceAustralia/agdc/tests/test_dbutil.py/TestUtilityFunctions.test_output_directory_2--crossover with--dataset/ETHPy150Open cloudera/hue/desktop/core/ext-py/pycrypto-2.6.1/lib/Crypto/Hash/HMAC.py/HMAC.copy