import unittest for line 26
This commit is contained in:
parent
baa032d2dc
commit
ee31cad396
@ -1,8 +1,9 @@
|
|||||||
#!/usr/bin/env python
|
#!/usr/bin/env python
|
||||||
from unittest import TestCase
|
|
||||||
import time
|
|
||||||
import sys
|
|
||||||
import os
|
import os
|
||||||
|
import sys
|
||||||
|
import time
|
||||||
|
import unittest
|
||||||
|
|
||||||
__author__ = 'TzuTaLin'
|
__author__ = 'TzuTaLin'
|
||||||
|
|
||||||
dir_name = os.path.abspath(os.path.dirname(__file__))
|
dir_name = os.path.abspath(os.path.dirname(__file__))
|
||||||
@ -10,7 +11,7 @@ libs_path = os.path.join(dir_name, '..', 'libs')
|
|||||||
sys.path.insert(0, libs_path)
|
sys.path.insert(0, libs_path)
|
||||||
from settings import Settings
|
from settings import Settings
|
||||||
|
|
||||||
class TestSettings(TestCase):
|
class TestSettings(unittest.TestCase):
|
||||||
|
|
||||||
def test_basic(self):
|
def test_basic(self):
|
||||||
wSetting = Settings()
|
wSetting = Settings()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user