1
0
mirror of https://github.com/deadc0de6/dotdrop.git synced 2026-02-10 08:39:15 +00:00

improve tests

This commit is contained in:
deadc0de6
2017-09-09 10:46:37 +02:00
parent a67d964f05
commit 9c4a846172
5 changed files with 8 additions and 0 deletions

View File

@@ -74,6 +74,8 @@ exec bspwm
f1, c1 = create_random_file(tmp)
dst1 = os.path.join(dst, get_string(6))
d1 = Dotfile(get_string(5), dst1, os.path.basename(f1))
# fake a print
self.assertTrue(str(d1) != '')
f2, c2 = create_random_file(tmp)
dst2 = os.path.join(dst, get_string(6))
d2 = Dotfile(get_string(5), dst2, os.path.basename(f2))