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