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]
 
setUp(self)
Update settings, create DummyOMs and test models and login.
source code
 
test_create_aggregates(self)
Test that we can create an OpenFlow Aggregate using the create view.
source code
 
test_static_of_links(self)
Tests that we can add/delete openflow-to-openflow static links.
source code
 
test_static_non_of_links(self)
Tests that we can add/delete openflow-to-openflow static links.
source code
 
test_double_update(self)
Make sure updating twice works.
source code
 
test_add_to_project(self)
Create a project, add first aggregate to project.
source code
 
test_add_to_slice(self)
Add the aggregate to a slice.
source code
 
test_start_slice(self)
Create a slice, add resources interfaces, add flowspace, start.
source code
 
test_gapi_existing_slice(self)
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='gapi_user@expedient.stanford.edu', controller_url='tcp:bla.com:6633', 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
 
test_gapi_duplicate_slice_name(self)
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_gapi_html_ui(self)
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]

setUp(self)

source code 

Update settings, create DummyOMs and test models and login.

Overrides: unittest.TestCase.setUp