Generating test coverage

Change-Id: Ic58ccb3e1282c2a2981d533d921a307fff064aaa
diff --git a/lib/xos-config/.gitignore b/lib/xos-config/.gitignore
index 1a050a8..10432e2 100644
--- a/lib/xos-config/.gitignore
+++ b/lib/xos-config/.gitignore
@@ -1,4 +1,7 @@
 .noseids
 build
 XosConfig.egg-info
-dist
\ No newline at end of file
+dist
+.coverage
+coverage.xml
+cover
\ No newline at end of file
diff --git a/lib/xos-config/Makefile b/lib/xos-config/Makefile
index 70ae716..650eb5f 100644
--- a/lib/xos-config/Makefile
+++ b/lib/xos-config/Makefile
@@ -1,2 +1,2 @@
 test:
-	nosetests -s -v --with-id
\ No newline at end of file
+	nosetests -s -v --with-id --with-coverage --cover-html --cover-erase --cover-xml --cover-package="xosconfig"
\ No newline at end of file
diff --git a/lib/xos-config/tests/config_test.py b/lib/xos-config/tests/config_test.py
index a3a89de..1ce1ce6 100644
--- a/lib/xos-config/tests/config_test.py
+++ b/lib/xos-config/tests/config_test.py
@@ -141,13 +141,8 @@
         [XOS-Config] Should get the default value if nothing is specified
         """
         Config.init(basic_conf)
-        log = Config.get("logging")
-        self.assertEqual(log, {
-            "level": "info",
-            "channels": ["file", "console"],
-            "logstash_hostport": "cordloghost:5617",
-            "file":  "/var/log/xos.log",
-        })
+        dir = Config.get("xos_dir")
+        self.assertEqual(dir, "/opt/xos")
 
     def test_get_config_file(self):
         """
diff --git a/lib/xos-genx/.gitignore b/lib/xos-genx/.gitignore
index f8e7be5..b1547d1 100644
--- a/lib/xos-genx/.gitignore
+++ b/lib/xos-genx/.gitignore
@@ -1,3 +1,6 @@
 build
 dist
-XosGenX.egg-info
\ No newline at end of file
+XosGenX.egg-info
+.coverage
+coverage.xml
+cover
\ No newline at end of file
diff --git a/lib/xos-genx/Makefile b/lib/xos-genx/Makefile
index 898f154..feee40e 100644
--- a/lib/xos-genx/Makefile
+++ b/lib/xos-genx/Makefile
@@ -1,3 +1,3 @@
 test:
-	nosetests -s -v --with-id
+	nosetests -s -v --with-id --with-coverage --cover-html --cover-erase --cover-xml --cover-package="xosgenx"