Remove unused code
This commit is contained in:
parent
3be4f121b3
commit
d24614a788
@ -1,11 +1,9 @@
|
|||||||
# Deploying stuff from YAML definition
|
# Deploying stuff from YAML definition
|
||||||
|
|
||||||
import imp
|
|
||||||
import os
|
import os
|
||||||
import shutil
|
import shutil
|
||||||
import yaml
|
import yaml
|
||||||
|
|
||||||
#from x import actions as xa
|
|
||||||
from x import db
|
from x import db
|
||||||
from x import resource as xr
|
from x import resource as xr
|
||||||
from x import signals as xs
|
from x import signals as xs
|
||||||
@ -43,8 +41,6 @@ def deploy(filename):
|
|||||||
|
|
||||||
# Run all tests
|
# Run all tests
|
||||||
if 'test-suite' in config:
|
if 'test-suite' in config:
|
||||||
#test_suite_path = os.path.join(workdir, config['test-suite'])
|
|
||||||
print 'Running tests from {}'.format(config['test-suite'])
|
print 'Running tests from {}'.format(config['test-suite'])
|
||||||
#test_suite = imp.load_source('main', test_suite_path)
|
|
||||||
test_suite = __import__(config['test-suite'], {}, {}, ['main'])
|
test_suite = __import__(config['test-suite'], {}, {}, ['main'])
|
||||||
test_suite.main()
|
test_suite.main()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user