mirror of
https://github.com/deadc0de6/dotdrop.git
synced 2026-02-12 07:09:00 +00:00
add tests
This commit is contained in:
@@ -10,6 +10,9 @@ import os
|
|||||||
import yaml
|
import yaml
|
||||||
|
|
||||||
from dotdrop.dotdrop import importer
|
from dotdrop.dotdrop import importer
|
||||||
|
from dotdrop.dotdrop import list_profiles
|
||||||
|
from dotdrop.dotdrop import list_files
|
||||||
|
from dotdrop.dotdrop import header
|
||||||
from dotdrop.config import Cfg
|
from dotdrop.config import Cfg
|
||||||
|
|
||||||
from tests.helpers import *
|
from tests.helpers import *
|
||||||
@@ -189,6 +192,10 @@ class TestImport(unittest.TestCase):
|
|||||||
self.assertTrue(os.path.islink(dotfile7))
|
self.assertTrue(os.path.islink(dotfile7))
|
||||||
self.assertTrue(os.path.realpath(dotfile7) == indt7)
|
self.assertTrue(os.path.realpath(dotfile7) == indt7)
|
||||||
|
|
||||||
|
list_profiles(conf)
|
||||||
|
list_files(opts, conf)
|
||||||
|
header()
|
||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
unittest.main()
|
unittest.main()
|
||||||
|
|||||||
Reference in New Issue
Block a user