Skip to content

Commit

Permalink
add back loads_module test
Browse files Browse the repository at this point in the history
  • Loading branch information
tony committed Jan 20, 2014
1 parent 199abc0 commit cc91db2
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions cihai/testsuite/cihai.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,14 +74,14 @@ def test_config_dict_args(self):

self.assertEqual(result, expected)

# def test_config_loads_module(self):
# from cihai.datasets.test_middleware import simple
def test_config_loads_module(self):
from cihai._vendor import colorama

# cihai = Cihai({
# 'datasets': ['cihai.testsuite.test_middleware']
# })
cihai = Cihai({
'datasets': ['cihai._vendor.colorama']
})

# self.assertIn(simple, cihai.models)
self.assertIn(colorama, cihai.models)

def test_yaml_config_and_override(self):
config = os.path.abspath(os.path.join(
Expand Down

0 comments on commit cc91db2

Please sign in to comment.