예제 #1
0
 def test__build_iresubst_dict_2(self):
     """_build_iresubst_dict({'xxx' : 'yyy', 'vvv' : 'www'}) should == {'yyy' : '${xxx}', 'www' : '${vvv}'}"""
     self.assertEqual(tested._build_iresubst_dict({'xxx' : 'yyy', 'vvv' : 'www'}), {'yyy' : '${xxx}', 'www' : '${vvv}'})
예제 #2
0
 def test__build_iresubst_dict_1(self):
     """_build_iresubst_dict({}) should == {}"""
     self.assertEqual(tested._build_iresubst_dict({}),{})