Commit 444a9417 authored by Jason Frisvold's avatar Jason Frisvold
Browse files

- Fix logging test

parent 9e967ef5
......@@ -19,7 +19,6 @@
# * 02110-1301 USA * #
import pytest
import logging
from libs.config import SkynetConfig
from collections import defaultdict
......@@ -43,12 +42,13 @@ testconfig = {'global':
class TestSkynetConfig(object):
def test_instantiation(self):
def test_instantiation(self, caplog):
configobject = SkynetConfig()
assert configobject._configfile == None
assert configobject._cfg == defaultconfig
assert configobject._section == None
assert "global = {'version': '1.0', 'homepage': 'http://www.godshell.com'}" in caplog.text
# TODO: Figure out how to mock this and test
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment