Advertisement
Guest User

Untitled

a guest
Jul 6th, 2015
220
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1. diff --git a/nodes/test/unit/test_plugins.py b/nodes/test/unit/test_plugins.py
  2. index 9ba67f9..464cfe9 100644
  3. --- a/nodes/test/unit/test_plugins.py
  4. +++ b/nodes/test/unit/test_plugins.py
  5. @@ -253,6 +253,9 @@ class PluginTestBase(ServerTests):
  6. self.REPO_ID,
  7. self.UNIT_TYPE_ID,
  8. unit_id)
  9. + # fetch unit
  10. + manager = managers.content_query_manager()
  11. + unit = manager.get_content_unit_by_id(self.UNIT_TYPE_ID, unit_id)
  12. units.append(unit)
  13. return units
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement