tests.sphinx.test_validator

Module Contents

Classes

TestSampleCodeValidator

class tests.sphinx.test_validator.TestSampleCodeValidator
test_ast_parser_called_in_eval_mode(mock_ast_parse)
test_invalid_syntax()
test_single_instance_of_variable_access()
test_ordereddict_variable_access_exception()
test_single_instance_of_attribute_access()
test_single_instance_of_method_or_function_call()
test_ordereddict_constructor_exception()
test_allowed_literal_types()
test_prohibited_literal_types()
test_prohibited_operations()
test_other_prohibited_expressions()