mirror of https://github.com/nicolargo/glances.git
Include for test file
This commit is contained in:
parent
ec604a5c4e
commit
4a501348af
|
|
@ -21,7 +21,15 @@
|
|||
Tests suite...
|
||||
"""
|
||||
|
||||
import os
|
||||
import sys
|
||||
import unittest
|
||||
|
||||
test_root = os.path.dirname(os.path.abspath(__file__))
|
||||
os.chdir(test_root)
|
||||
sys.path.insert(0, os.path.dirname(test_root))
|
||||
sys.path.insert(0, test_root)
|
||||
|
||||
import glances
|
||||
|
||||
class testGlances(unittest.TestCase):
|
||||
|
|
@ -29,6 +37,10 @@ class testGlances(unittest.TestCase):
|
|||
Test glances class
|
||||
"""
|
||||
|
||||
def setUp(self):
|
||||
self.core = glances.GlancesMain()
|
||||
print dir(self.core)
|
||||
|
||||
def test_init(self):
|
||||
"""
|
||||
...
|
||||
|
|
|
|||
Loading…
Reference in New Issue