summaryrefslogtreecommitdiffstats
path: root/test_dotfiles.py
diff options
context:
space:
mode:
authorGravatar Jon Bernard <jbernard@tuxion.com> 2012-03-11 12:06:14 -0400
committerGravatar Jon Bernard <jbernard@tuxion.com> 2012-03-11 12:06:14 -0400
commitabbc5df62be4efee30e5343409e01171431037c9 (patch)
tree83d2f5815dd57b02fd12dbee89c875d288ceb9ef /test_dotfiles.py
parent81529f062459efc2c7c5d00761767797aae6f830 (diff)
parent4c9740b82a06edb56e063c229510a826834f4023 (diff)
downloaddotfiles-abbc5df62be4efee30e5343409e01171431037c9.tar.gz
dotfiles-abbc5df62be4efee30e5343409e01171431037c9.tar.bz2
dotfiles-abbc5df62be4efee30e5343409e01171431037c9.zip
Merge branch 'release/0.5.3'
Diffstat (limited to 'test_dotfiles.py')
-rwxr-xr-xtest_dotfiles.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test_dotfiles.py b/test_dotfiles.py
index f9b6b46..b892003 100755
--- a/test_dotfiles.py
+++ b/test_dotfiles.py
@@ -12,7 +12,7 @@ from dotfiles import core
def touch(fname, times=None):
- with file(fname, 'a'):
+ with open(fname, 'a'):
os.utime(fname, times)
@@ -85,7 +85,7 @@ class DotfilesTestCase(unittest.TestCase):
os.path.join(self.homedir, '.bashrc'),
os.path.join(target, 'bashrc'))
- def test_sync_unmanaged_directory_symlink(self):
+ def test_force_sync_directory_symlink(self):
"""Test a forced sync on a directory symlink.
A bug was reported where a user wanted to replace a dotfile repository