1
0
mirror of https://github.com/deadc0de6/dotdrop.git synced 2026-02-04 18:34:48 +00:00

ignore dotdropbak for update/compare (#102)

This commit is contained in:
deadc0de6
2019-03-13 08:24:10 +01:00
parent 2f35636c04
commit 8dacabae0e
4 changed files with 15 additions and 7 deletions

View File

@@ -16,6 +16,7 @@ from dotdrop.dotfile import Dotfile
from dotdrop.installer import Installer
from dotdrop.action import Action
from dotdrop.dotdrop import cmd_install
from dotdrop.options import BACKUP_SUFFIX
from dotdrop.linktypes import LinkTypes
from dotdrop.utils import header
@@ -208,7 +209,7 @@ exec bspwm
self.assertTrue(os.path.realpath(dst7) == os.path.realpath(dir2))
# make sure backup is there
b = dst4 + Installer.BACKUP_SUFFIX
b = dst4 + BACKUP_SUFFIX
self.assertTrue(os.path.exists(b))
self.assertTrue(filecmp.cmp(f1, dst1, shallow=True))