Skip to content

Commit

Permalink
Uncommenting tests
Browse files Browse the repository at this point in the history
  • Loading branch information
rgerman committed May 12, 2014
1 parent e729d48 commit 6904add
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test_cases/workspace_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ def cleanCouchDatabases(self):
except Exception as e:
print e

def _test_switch_workspace_with_objects(self):
def test_switch_workspace_with_objects(self):
workspace = self.wm.createWorkspace(new_random_workspace_name(),
workspaceClass=WorkspaceOnCouch)
self._couchdb_workspaces.append(workspace.name)
Expand Down Expand Up @@ -111,7 +111,7 @@ def _test_switch_workspace_with_objects(self):
self.assertIn(service1, interface1.getAllServices(),
"Service not in Interface!")

def _test_remove_active_workspace(self):
def test_remove_active_workspace(self):
workspace = self.wm.createWorkspace(new_random_workspace_name(),
workspaceClass=WorkspaceOnCouch)

Expand All @@ -125,7 +125,7 @@ def _test_remove_active_workspace(self):
self.assertNotIn(host1.getID(), hosts_ids,
'Host not removed while removing active workspace')

def _test_remove_active_workspace_fs(self):
def test_remove_active_workspace_fs(self):
workspace = self.wm.createWorkspace(new_random_workspace_name(),
workspaceClass=WorkspaceOnFS)
self.wm.setActiveWorkspace(workspace)
Expand All @@ -137,7 +137,7 @@ def _test_remove_active_workspace_fs(self):
self.assertNotIn(host1, self.model_controller.getAllHosts(),
'Host not removed while removing active workspace')

def _test_remove_another_workspace(self):
def test_remove_another_workspace(self):
workspace = self.wm.createWorkspace(new_random_workspace_name(),
workspaceClass=WorkspaceOnCouch)

Expand Down

0 comments on commit 6904add

Please sign in to comment.