Allow TestON to be run from anywhere.
Use absolute path instead of current working path
Clean up some error handling on startup
Still to be done:
Cleanup other usages of os.getcwd()
Change-Id: I014f4fec29a85edd1816127d3062b595baadcab5
diff --git a/TestON/config/teston.cfg b/TestON/config/teston.cfg
index 82c96dc..c7442f6 100644
--- a/TestON/config/teston.cfg
+++ b/TestON/config/teston.cfg
@@ -1,18 +1,18 @@
<config>
- <parser>
- <file>../core/xmlparser.py</file>
+ <parser>
+ <file>core/xmlparser.py</file>
<class>xmlparser</class>
</parser>
<mail_to>hari@onlab.us</mail_to>
- <logger>
- <file>../core/logger.py</file>
+ <logger>
+ <file>core/logger.py</file>
<class>Logger</class>
</logger>
-
+
<responseparser>
- <file>../core/jsonparser.py</file>
+ <file>core/jsonparser.py</file>
<class>JsonParser</class>
</responseparser>
</config>