Module Expr Str ImportFrom alias ImportFrom alias ImportFrom alias Import alias Import alias Import alias Import alias Import alias identifier FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr FunctionDef arguments args defaults body Expr Call NameLoad decorator_list Assign AttributeStore NameLoad attr Call AttributeLoad Str attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults Str body Expr Str For NameStore Call AttributeLoad NameLoad attr NameLoad body If BoolOpAnd Call AttributeLoad NameLoad attr NameLoad NameLoad UnaryOpNot Call AttributeLoad NameLoad attr NameLoad Str UnaryOpNot Call AttributeLoad NameLoad attr Str body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad body If Call AttributeLoad NameLoad attr Str body Expr Yield Call NameLoad Call NameLoad NameLoad NameLoad decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str If CompareNotEq NameLoad NameLoad body Raise Call NameLoad Call AttributeLoad Str attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str If CompareEq NameLoad NameLoad body Raise Call NameLoad Call AttributeLoad Str attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If UnaryOpNot Call NameLoad NameLoad body Raise Call NameLoad Call AttributeLoad Str attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If Call NameLoad NameLoad body Raise Call NameLoad Call AttributeLoad Str attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str If CompareIsNot NameLoad NameLoad body Raise Call NameLoad Call AttributeLoad Str attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str If CompareIs NameLoad NameLoad body Raise Call NameLoad Call AttributeLoad Str attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If CompareIsNot NameLoad NameLoad body Raise Call NameLoad Call AttributeLoad Str attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If CompareIs NameLoad NameLoad body Raise Call NameLoad Call AttributeLoad Str attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str If CompareNotIn NameLoad NameLoad body Raise Call NameLoad Call AttributeLoad Str attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str If CompareIn NameLoad NameLoad body Raise Call NameLoad Call AttributeLoad Str attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str If UnaryOpNot Call NameLoad NameLoad NameLoad body Raise Call NameLoad Call AttributeLoad Str attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str If Call NameLoad NameLoad NameLoad body Raise Call NameLoad Call AttributeLoad Str attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str If CompareLtE NameLoad NameLoad body Raise Call NameLoad Call AttributeLoad Str attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str If CompareLt NameLoad NameLoad body Raise Call NameLoad Call AttributeLoad Str attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str If CompareGtE NameLoad NameLoad body Raise Call NameLoad Call AttributeLoad Str attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str If CompareGt NameLoad NameLoad body Raise Call NameLoad Call AttributeLoad Str attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad vararg kwarg body Expr Str If CompareIs NameLoad NameLoad body Return Call AttributeLoad NameLoad attr NameLoad Assign NameStore NameLoad TryExcept body Expr Call NameLoad NameLoad NameLoad handlers ExceptHandler type NameLoad body Assign NameStore NameLoad If UnaryOpNot NameLoad body Raise Call NameLoad Call AttributeLoad Str attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore NameLoad TryExcept body Expr Yield handlers ExceptHandler type NameLoad body Assign NameStore NameLoad If UnaryOpNot NameLoad body Raise Call NameLoad Call AttributeLoad Str attr AttributeLoad NameLoad attr decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam NameParam NameParam defaults Num body Expr Str If CompareNotEq Call NameLoad BinOpSub NameLoad NameLoad NameLoad Num body Assign NameStore Call AttributeLoad Str attr NameLoad NameLoad NameLoad Raise Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults Num body Expr Str If CompareEq Call NameLoad BinOpSub NameLoad NameLoad NameLoad Num body Assign NameStore Call AttributeLoad Str attr NameLoad NameLoad NameLoad Raise Call NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Raise Call NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Raise Call NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str If UnaryOpNot Call AttributeLoad NameLoad attr NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad Str attr NameLoad NameLoad NameLoad Assert NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr decorator_list decorator_list
N/A N/A 
Data-driven tests for the GA4GH reference implementation. A data
driven test applies a given test method to a data file, and
each applicaton is an independent test case under nose.
 __future__ division __future__ print_function __future__ unicode_literals N/A contextlib N/A fnmatch N/A os N/A inspect N/A ga4gh.avrotools avrotools _wrapTestMethod N/A N/A method N/A N/A N/A 
    Takes an instance method of a DataDrivenTest subclass, and returns a
    function that can be used in a test generator in nose. This entails
    updating the description attribute so that we can see details of
    the tests being run in nose.
     N/A instance N/A method im_self N/A cls N/A instance __class__ testFunction N/A N/A N/A N/A N/A N/A method N/A N/A N/A testFunction description N/A N/A {}.{}.{}:{} format N/A method __module__ N/A cls __name__ N/A method __name__ N/A N/A instance getLocalId N/A testFunction N/A makeTests N/A N/A testDataDir testClass fnmatchGlob N/A * N/A N/A 
    Top-level entry point for data driven tests. For every subdirectory
    in testDataDir, create an instance of testClass and then yield
    each of its testMethods in a format suitable for use with nose
    test generators.
     N/A localId N/A N/A os listdir testDataDir N/A N/A N/A N/A N/A fnmatch fnmatch localId fnmatchGlob N/A N/A N/A fnmatch fnmatch localId *.json N/A N/A N/A localId startswith . N/A N/A path N/A N/A N/A os path join testDataDir localId N/A tester N/A testClass localId path N/A N/A name _ N/A N/A inspect getmembers testClass N/A N/A N/A N/A name startswith test N/A N/A N/A N/A _wrapTestMethod N/A getattr tester name N/A TestCase N/A object N/A N/A 
    Base class for datadriven test classes.
    Contains assert methods.
     assertEqual N/A N/A self a b N/A N/A N/A 
        Tests if a an b are equal. If not, output an error and raise
        an assertion error.
         N/A N/A a b N/A N/A N/A AssertionError N/A N/A {} != {} format a b N/A assertNotEqual N/A N/A self a b N/A N/A N/A 
        Tests if a and b are not equal.  If they are equal, raise
        an assertion error.
         N/A N/A a b N/A N/A N/A AssertionError N/A N/A {} == {} format a b N/A assertTrue N/A N/A self x N/A N/A N/A 
        Tests that x is true.  If it is false, raise an assertion error.
         N/A N/A N/A bool x N/A N/A N/A AssertionError N/A N/A {} is False format x N/A assertFalse N/A N/A self x N/A N/A N/A 
        Tests that x is false.  If it is true, raise an assertion error.
         N/A N/A bool x N/A N/A N/A AssertionError N/A N/A {} is True format x N/A assertIs N/A N/A self a b N/A N/A N/A 
        Tests that a is b.  If it is not, raise an assertion error.
         N/A N/A a b N/A N/A N/A AssertionError N/A N/A {} is not {} format a b N/A assertIsNot N/A N/A self a b N/A N/A N/A 
        Tests that a is not b.  If a is b, raise an assertion error.
         N/A N/A a b N/A N/A N/A AssertionError N/A N/A {} is {} format a b N/A assertIsNone N/A N/A self x N/A N/A N/A 
        Tests that x is None.  If x is not, raise an assertion error.
         N/A N/A x None N/A N/A N/A AssertionError N/A N/A {} is not None format x N/A assertIsNotNone N/A N/A self x N/A N/A N/A 
        Tests that x is not None.  If x is None, raise an assertion error.
         N/A N/A x None N/A N/A N/A AssertionError N/A N/A {} is None format x N/A assertIn N/A N/A self a b N/A N/A N/A 
        Tests that a is in b.  If a is not in b, raise an assertion error.
         N/A N/A a b N/A N/A N/A AssertionError N/A N/A {} not in {} format a b N/A assertNotIn N/A N/A self a b N/A N/A N/A 
        Tests that a is not in b.  If a is in b, raise an assertion error.
         N/A N/A a b N/A N/A N/A AssertionError N/A N/A {} in {} format a b N/A assertIsInstance N/A N/A self a b N/A N/A N/A 
        Tests that a is an instance of b.  If a is not an instance of b,
        raise an assertion error.
         N/A N/A N/A isinstance a b N/A N/A N/A AssertionError N/A N/A {} is not instance of {} format a b N/A assertNotIsInstance N/A N/A self a b N/A N/A N/A 
        Tests that a is not an instance of b.  If a is an instance of b,
        raise an assertion error.
         N/A N/A isinstance a b N/A N/A N/A AssertionError N/A N/A {} is instance of {} format a b N/A assertGreater N/A N/A self a b N/A N/A N/A 
        Tests that a is greater than b.  If not, raise an assertion error.
         N/A N/A a b N/A N/A N/A AssertionError N/A N/A {} is not greater than {} format a b N/A assertGreaterEqual N/A N/A self a b N/A N/A N/A 
        Tests that a is greater than or equal to b.
        If not, raise an assertion error.
         N/A N/A a b N/A N/A N/A AssertionError N/A N/A {} is not greater than or equal to {} format a b N/A assertLess N/A N/A self a b N/A N/A N/A 
        Tests that a is less than b.  If not, raise an assertion error.
         N/A N/A a b N/A N/A N/A AssertionError N/A N/A {} is not less than {} format a b N/A assertLessEqual N/A N/A self a b N/A N/A N/A 
        Tests that a is less than or equal to b.
        If not, raise an assertion error.
         N/A N/A a b N/A N/A N/A AssertionError N/A N/A {} is not less than or equal to {} format a b N/A assertRaises N/A N/A self exceptionType func N/A None args kwargs N/A N/A 
        Tests that calling func raises an exception of type exceptionType
         N/A N/A func None N/A N/A N/A N/A self assertRaisesWith exceptionType N/A exceptionRaised False N/A N/A N/A N/A func args kwargs N/A N/A N/A exceptionType N/A N/A exceptionRaised True N/A N/A exceptionRaised N/A N/A N/A AssertionError N/A N/A exception of type {} not raised format N/A exceptionType __name__ N/A assertRaisesWith N/A N/A self exceptionType N/A N/A N/A 
        Tests that a block of code raises an exception of type exceptionType
         N/A exceptionRaised False N/A N/A N/A N/A N/A N/A N/A exceptionType N/A N/A exceptionRaised True N/A N/A exceptionRaised N/A N/A N/A AssertionError N/A N/A exception of type {} not raised format N/A exceptionType __name__ N/A N/A contextlib contextmanager assertAlmostEqual N/A N/A self a b ndigits N/A 7 N/A N/A 
        Assert that a and b are equal within ndigits digits
         N/A N/A N/A round N/A a b ndigits 0 N/A N/A message N/A N/A {} and {} not equal within {} digits format a b ndigits N/A N/A AssertionError message N/A assertNotAlmostEqual N/A N/A self a b ndigits N/A 7 N/A N/A 
        Assert that a and b are not equal within ndigits digits
         N/A N/A N/A round N/A a b ndigits 0 N/A N/A message N/A N/A {} and {} equal within {} digits format a b ndigits N/A N/A AssertionError message N/A N/A DataDrivenTest N/A TestCase N/A N/A 
    Superclass of all data driven tests for GA4GH datamodel objects.
    A data driven test class is instantiated with a set of data files
    that represent a some aggregation of data (for example, a
    ReferenceSet or VariantSet). We allocate a GA4GH datamodel object
    corresponding to this, and then test that these objects have the
    properties that we expect.
     __init__ N/A N/A self localId dataPath N/A N/A N/A N/A self _localId localId N/A N/A self _dataPath dataPath N/A N/A self _gaObject N/A N/A self getDataModelInstance localId dataPath N/A getLocalId N/A N/A self N/A N/A N/A 
        Return the ID of this GA4GH datamodel object we are testing.
         N/A N/A self _localId N/A getDataModelInstance N/A N/A self localId dataPath N/A N/A N/A 
        Returns the GA4GH datamodel class that this data driven test
        is exercising.
         N/A N/A NotImplementedError N/A getProtocolClass N/A N/A self N/A N/A N/A 
        Returns the GA4GH protocol class that this data driven test
        is exercising.
         N/A N/A NotImplementedError N/A assertValid N/A N/A self protocolClass jsonDict N/A N/A N/A 
        Asserts that the specified JSON dictionary is a valid instance
        of the specified protocol class.
         N/A N/A N/A N/A protocolClass validate jsonDict N/A N/A validator N/A N/A avrotools Validator protocolClass N/A invalidFields N/A N/A validator getInvalidFields jsonDict N/A message N/A N/A {} is not a valid instance of {}. Invalid fields = {} format jsonDict protocolClass invalidFields N/A False message N/A testProtocolElementValid N/A N/A self N/A N/A N/A N/A N/A self assertValid N/A N/A self getProtocolClass N/A N/A N/A N/A N/A self _gaObject toProtocolElement toJsonDict N/A N/A