Back to index

python3.2  3.2.2
Public Member Functions | Public Attributes
test.test_pyexpat.SetAttributeTest Class Reference

List of all members.

Public Member Functions

def setUp
def test_ordered_attributes
def test_specified_attributes

Public Attributes

 parser
 set_get_pairs

Detailed Description

Definition at line 13 of file test_pyexpat.py.


Member Function Documentation

Definition at line 14 of file test_pyexpat.py.

00014 
00015     def setUp(self):
00016         self.parser = expat.ParserCreate(namespace_separator='!')
00017         self.set_get_pairs = [
00018             [0, 0],
00019             [1, 1],
00020             [2, 1],
00021             [0, 0],
00022             ]

Here is the caller graph for this function:

Definition at line 23 of file test_pyexpat.py.

00023 
00024     def test_ordered_attributes(self):
00025         for x, y in self.set_get_pairs:
00026             self.parser.ordered_attributes = x
00027             self.assertEqual(self.parser.ordered_attributes, y)

Here is the call graph for this function:

Definition at line 28 of file test_pyexpat.py.

00028 
00029     def test_specified_attributes(self):
00030         for x, y in self.set_get_pairs:
00031             self.parser.specified_attributes = x
00032             self.assertEqual(self.parser.specified_attributes, y)
00033 

Here is the call graph for this function:


Member Data Documentation

Definition at line 15 of file test_pyexpat.py.

Definition at line 16 of file test_pyexpat.py.


The documentation for this class was generated from the following file: