1
0
mirror of https://github.com/deadc0de6/dotdrop.git synced 2026-02-09 11:14:17 +00:00

add pyflakes and fix errors

This commit is contained in:
deadc0de6
2019-02-11 21:40:42 +01:00
parent e53a52655f
commit 83a04feb43
15 changed files with 24 additions and 23 deletions

View File

@@ -8,11 +8,9 @@ basic unittest for the config parser
import unittest
import os
import yaml
import tempfile
import shutil
from dotdrop.config import Cfg
from tests.helpers import *
from tests.helpers import get_tempdir, clean, create_fake_config
class TestConfig(unittest.TestCase):
@@ -88,7 +86,6 @@ class TestConfig(unittest.TestCase):
self.assertTrue(conf is not None)
# test profile
opts = conf.get_settings()
profiles = conf.get_profiles()
self.assertTrue(pf1key in profiles)
self.assertTrue(pf2key in profiles)