Skip to content

Commit

Permalink
fix testcase, details are appended in recipe, no longer in ds csv
Browse files Browse the repository at this point in the history
  • Loading branch information
lausser committed Apr 8, 2017
1 parent 5e887a4 commit 8b0e20a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions tests/README.single_test
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
PYTHONPATH=.. python -m unittest test_details.CoshshTest.test_detail_keyvalues
4 changes: 2 additions & 2 deletions tests/test_details.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@ def tearDown(self):
def test_detail_keyvalues(self):
self.print_header()
cfg = self.config.items("datasource_CSVDETAILS")
self.generator.recipes['test6'].add_datasource(**dict(cfg))
self.generator.recipes['test6'].collect()
objects = self.generator.recipes['test6'].objects
ds = coshsh.datasource.Datasource(**dict(cfg))
ds.read(objects=objects)
app1 = objects['applications'].values()[0]
app1.resolve_monitoring_details()
app2 = objects['applications'].values()[1]
Expand Down

0 comments on commit 8b0e20a

Please sign in to comment.