Skip to content

Commit

Permalink
Remove some wiring selenium tests now covered by unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
aarranz committed Sep 26, 2018
1 parent a4cdd14 commit 17cef02
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions src/wirecloud/platform/wiring/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -2830,19 +2830,6 @@ def test_components_with_readonly_connections_cannot_be_deleted(self):
self.assertTrue(operator.has_class('readonly'))
self.assertTrue(operator.btn_remove.is_disabled)

def test_connections_with_only_visual_data_should_be_ignored(self):
# Change the connection output-endpoint from the business description.
workspace = Workspace.objects.get(id=2)
workspace.wiringStatus['connections'][0]['target']['endpoint'] = 'nothandled'
workspace.save()

self.login(username='user_with_workspaces', next="/user_with_workspaces/Workspace")

with self.wiring_view as wiring:
# The workspace should have three connections loaded
self.assertEqual(len(wiring.find_connections()), 3)
self.assertEqual(len(wiring.find_connections(extra_class='missing')), 0)

def test_active_connection_should_allow_to_change_their_endpoints(self):
self.login(username='user_with_workspaces', next="/user_with_workspaces/Workspace")

Expand Down

0 comments on commit 17cef02

Please sign in to comment.