def test_moveFail(self):
        # Ensure dated-fail moves
        self._setupRepo()
        with open('git-results-run', 'w') as f:
            f.write("hiwehfiahef")
        dateBase = self._getDatedBase()
        with self.assertRaises(SystemExit):
            git_results.run(shlex.split("results/test/run -m 'woo'"))
        try:
            git_results.run(shlex.split("move results/test/run results/test/run2"))
        except __HOLE__, e:
            self.fail(str(e))
        self.assertEqual(False, os.path.lexists("results/test/run"))
        self.assertEqual(False, os.path.lexists(dateBase + "-test/run"))
        self.assertEqual(True, os.path.lexists(dateBase + "-test/run2"))
        self.assertEqual("", open(dateBase + "-test/run2/1-fail/stdout").read())
dataset/ETHPy150Open wwoods/git-results/test/test_integration.py/TestGitResults.test_moveFail