Package eoxserver :: Package services :: Module testbase :: Class OWSTestCase
[hide private]
[frames] | no frames]

Class OWSTestCase

source code


Main base class for testing the OWS interface of EOxServer.
Nested Classes [hide private]

Inherited from django.test.testcases.TransactionTestCase: client_class

Inherited from unittest.case.TestCase: failureException

Instance Methods [hide private]
 
setUp(self)
Hook method for setting up the test fixture before exercising it.
source code
 
isRequestConfigEnabled(self, config_key, default=False) source code
 
getRequest(self) source code
 
getFileExtension(self, file_type) source code
 
getResponseFileDir(self) source code
 
getDataFileDir(self) source code
 
getResponseFileName(self, file_type) source code
 
getResponseData(self) source code
 
getExpectedFileDir(self) source code
 
getExpectedFileName(self, file_type) source code
 
getXMLData(self) source code
 
_testXMLComparison(self, suffix='xml', response=None)
Helper function for the basic XML tree comparison to be used by `testXMLComparison`.
source code
 
_testBinaryComparison(self, file_type, Data=None)
Helper function for the `testBinaryComparisonRaster` function.
source code
 
testStatus(self) source code

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

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

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

Inherited from django.test.testcases.SimpleTestCase: __call__, assertFieldOutput, assertHTMLEqual, assertHTMLNotEqual, assertInHTML, assertJSONEqual, assertRaisesMessage, assertXMLEqual, assertXMLNotEqual, restore_warnings_state, save_warnings_state, settings

Inherited from unittest.case.TestCase: __eq__, __hash__, __init__, __ne__, __repr__, __str__, addCleanup, addTypeEqualityFunc, assertAlmostEqual, assertAlmostEquals, assertDictContainsSubset, assertDictEqual, assertEqual, assertEquals, assertFalse, assertGreater, assertGreaterEqual, assertIn, assertIs, assertIsInstance, assertIsNone, assertIsNot, assertIsNotNone, assertItemsEqual, assertLess, assertLessEqual, assertListEqual, assertMultiLineEqual, assertNotAlmostEqual, assertNotAlmostEquals, assertNotEqual, assertNotEquals, assertNotIn, assertNotIsInstance, assertNotRegexpMatches, assertRaises, assertRaisesRegexp, assertRegexpMatches, assertSequenceEqual, assertSetEqual, assertTrue, assertTupleEqual, assert_, countTestCases, debug, defaultTestResult, doCleanups, fail, failIf, failIfAlmostEqual, failIfEqual, failUnless, failUnlessAlmostEqual, failUnlessEqual, failUnlessRaises, id, run, shortDescription, skipTest, tearDown

Inherited from unittest.case.TestCase (private): _addSkip, _baseAssertEqual, _deprecate, _formatMessage, _getAssertEqualityFunc, _truncateMessage

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

Class Methods [hide private]

Inherited from unittest.case.TestCase: setUpClass, tearDownClass

Class Variables [hide private]
  fixtures = ['initial_rangetypes.json', 'testing_base.json', 't...

Inherited from django.test.testcases.TransactionTestCase: reset_sequences

Inherited from unittest.case.TestCase: longMessage, maxDiff

Inherited from unittest.case.TestCase (private): _classSetupFailed, _diffThreshold

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

setUp(self)

source code 
Hook method for setting up the test fixture before exercising it.
Overrides: unittest.case.TestCase.setUp
(inherited documentation)

Class Variable Details [hide private]

fixtures

Value:
['initial_rangetypes.json',
 'testing_base.json',
 'testing_asar_base.json',
 'testing_coverages.json',
 'testing_asar.json']