Package elisa :: Package core :: Package tests :: Module test_media_uri :: Class TestMediaURI

Class TestMediaURI

source code


Instance Methods
 
test_samples(self) source code
 
test_port(self) source code
 
test_windows_path(self) source code
 
test_escape(self) source code
 
test_smb(self) source code
 
test_unicode(self) source code
 
test_no_unicode(self) source code
 
test_parameters(self) source code
 
test_quoting(self) source code
 
test_not_quote(self) source code
 
test_back_slash(self) source code
 
test_unquoting(self) source code
 
test_relative(self) source code
 
test_uri_parts(self) source code
 
test_partial_uri_parts(self) source code
 
test_parent(self) source code
 
test_filename(self) source code
 
test_join(self) source code
 
test_extension(self) source code
 
test_root_file_scheme(self) source code
 
test_label(self) source code
 
test_uri_from_uri(self) source code
 
test_youtube_uri(self) source code
 
test_querystring_order_str(self) source code
 
test_querystring_order_odict(self) source code
 
test_querystring_order_set(self)
Test that setting the parameters will not change their order
source code
 
test_querystring_order_copy(self)
Test that creating the mediaURI from a dict where params is an OrderedDict will result in a query string with the same order.
source code

Inherited from twisted.trial.unittest.TestCase: __call__, __eq__, __ne__, addCleanup, callDeprecated, deferRunCleanups, deferSetUp, deferSetUpClass, deferTearDown, deferTearDownClass, deferTestMethod, flushLoggedErrors, flushWarnings, getSkip, getSuppress, getTimeout, getTodo, mktemp, patch, run, runTest, shortDescription, visit

Inherited from twisted.trial.unittest._Assertions: assertAlmostEqual, assertAlmostEquals, assertApproximates, assertEqual, assertEquals, assertFailure, assertFalse, assertIdentical, assertIn, assertIsInstance, assertNot, assertNotAlmostEqual, assertNotAlmostEquals, assertNotEqual, assertNotEquals, assertNotIdentical, assertNotIn, assertNotIsInstance, assertNotSubstring, assertRaises, assertSubstring, assertTrue, assertWarns, assert_, fail, failIf, failIfAlmostEqual, failIfAlmostEquals, failIfEqual, failIfEquals, failIfIdentical, failIfIn, failIfIsInstance, failIfSubstring, failUnless, failUnlessAlmostEqual, failUnlessAlmostEquals, failUnlessApproximates, failUnlessEqual, failUnlessEquals, failUnlessFailure, failUnlessFalse, failUnlessIdentical, failUnlessIn, failUnlessIsInstance, failUnlessRaises, failUnlessSubstring, failUnlessTrue, failUnlessWarns

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

Inherited from extern.log.log.Loggable: doLog, error, log, logFunction, logObjectName, warning, warningFailure

    Inherited from elisa_test_case.ElisaTestCase
 
__init__(self, methodName='runTest')
Construct an asynchronous test case for methodName.
source code
 
check_called(self, callback) source code
 
setUp(self) source code
Class Variables
  samples = [u'file:///home/phil/media/La maison de mon r\xeave'...

Inherited from extern.log.log.Loggable: logCategory

    Inherited from elisa_test_case.ElisaTestCase
  debug = extern_log.Loggable.debug
Log a debug message.
  default_config = "...
  info = extern_log.Loggable.info
Log an informational message.
  load_all_plugins = False
  tests_dir = os.path.dirname(__file__)
Instance Variables

Inherited from twisted.trial.unittest.TestCase: failureException, skip, suppress, timeout, todo

Properties

Inherited from object: __class__

Class Variable Details

samples

Value:
[u'file:///home/phil/media/La maison de mon r\xeave', u'http://google.\
com', u'smb://philn/phil', u'smb:///', u'smb://phil:foo@philn/phil', u\
'http://192.168.1.0:10243/foo.mp3', u'scheme://test', u'http://192.168\
.1.0:10243/û.mp3', u'http://192.168.1.0:10243/é.mp3', u'http://google.\
com#test', u'file:///truc',]