Table of Contents

Module: test_Time Martel/test/test_Time.py
Imported modules   
import Martel
from Martel import Time
import re
import string
import time
from xml.sax import handler
Functions   
_find_quoted_words
test
test_docstring
test_expand
test_syntax
test_terms
test_times
  _find_quoted_words 
_find_quoted_words ( line )

  test 
test ()

  test_docstring 
test_docstring ()

Exceptions   
AssertionError( line )
AssertionError("pattern = %s ; text = %s: %s != %s" %(repr( pattern ), repr( example ), repr(element_attrs [ 0 ] ), repr(element_attrs [ 1 ] ) ) )
  test_expand 
test_expand ()

make sure tag name expansion works correctly

  test_syntax 
test_syntax ()

Exceptions   
AssertionError("Should not have allowed: %s" %( repr( bad_pat ), ) )
  test_terms 
test_terms (
        s,
        matches,
        non_matches,
        )

Exceptions   
AssertionError("%re: s %s does not match %s" %(repr( s ), repr( pat ), repr( m ) ) )
AssertionError("exp: %s %s does not match %s" %(repr( s ), repr( pat ), repr( m ) ) )
AssertionError("exp: %s %s should not match %s" %(repr( s ), repr( pat ), repr( m ) ) )
AssertionError("re: %s %s should not match %s" %(repr( s ), repr( pat ), repr( m ) ) )
  test_times 
test_times ()

Exceptions   
AssertionError("Bad exp %" + "%s %s %s" %( c, pat, s ) )
AssertionError("Bad re %" + "%s %s %s" %( c, pat, s ) )

Table of Contents

This document was automatically generated on Mon Jul 1 12:03:24 2002 by HappyDoc version 2.0.1