summaryrefslogtreecommitdiffstats
path: root/test_dotfiles.py
diff options
context:
space:
mode:
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