Package openflow :: Package plugin :: Module tests :: Class Tests
[hide private]
[frames] | no frames]

Class Tests

source code

Nested Classes [hide private]

Inherited from unittest.TestCase: failureException

Instance Methods [hide private]
Update settings, create DummyOMs and test models and login.
source code
Test that we can create an OpenFlow Aggregate using the create view.
source code
Tests that we can add/delete openflow-to-openflow static links.
source code
Tests that we can add/delete openflow-to-openflow static links.
source code
Make sure updating twice works.
source code
Create a project, add first aggregate to project.
source code
Add the aggregate to a slice.
source code
Create a slice, add resources interfaces, add flowspace, start.
source code
Check that a slice created through the web or some other way is available through the gapi interface.
source code
test_gapi_GetVersion(self) source code
test_gapi_ListResources(self, create=True, zipped=False) source code
test_gapi_ZippedListResources(self) source code
test_gapi_changed_ListResources(self) source code
test_gapi_CreateSliver(self, proj_name='test project', proj_desc='test project description', slice_name='test slice', slice_desc='test slice description', username='test_user', firstname='gapi', lastname='user', password='password', affiliation='Stanford', email='', controller_url='', fs1={'dl_dst': ('11:22:33:44:55:66', None), 'dl_type': (1234, 1236..., fs2={'dl_dst': ('11:22:33:44:55:66', None), 'dl_src': ('11:22:33:4..., slice=None, expiration=datetime.datetime(2011, 2, 19, 13, 9, 45, 508012), create_aggregates=True) source code
test_gapi_expired_CreateSliver(self) source code
test_gapi_RenewSliver(self) source code
test_gapi_DeleteSliver(self) source code
test_gapi_slice_ListResources(self) source code
Check that a slice with different urn but same name raises DuplicateSliceNameException.
source code
test_gapi_project_name_change_CreateSliver(self) source code
test_gapi_slice_name_change_CreateSliver(self) source code
Test that we can see details of a slice created through the gapi interface in the HTML UI plugin.
source code
test_external_rspec(self) source code

Inherited from expedient.common.tests.manager.SettingsTestCase: __init__, tearDown

Inherited from django.test.testcases.TestCase (private): _fixture_setup, _fixture_teardown

Inherited from django.test.testcases.TransactionTestCase: __call__, assertContains, assertFormError, assertNotContains, assertQuerysetEqual, assertRedirects, assertTemplateNotUsed, assertTemplateUsed, restore_warnings_state, save_warnings_state

Inherited from django.test.testcases.TransactionTestCase (private): _post_teardown, _pre_setup, _urlconf_setup, _urlconf_teardown

Inherited from unittest.TestCase: __eq__, __hash__, __ne__, __repr__, __str__, assertAlmostEqual, assertAlmostEquals, assertEqual, assertEquals, assertFalse, assertNotAlmostEqual, assertNotAlmostEquals, assertNotEqual, assertNotEquals, assertRaises, assertTrue, assert_, countTestCases, debug, defaultTestResult, fail, failIf, failIfAlmostEqual, failIfEqual, failUnless, failUnlessAlmostEqual, failUnlessEqual, failUnlessRaises, id, run, shortDescription

Inherited from unittest.TestCase (private): _exc_info

Inherited from object: __delattr__, __format__, __getattribute__, __new__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]


source code 

Update settings, create DummyOMs and test models and login.

Overrides: unittest.TestCase.setUp