コード例 #1
0
 def test__build_resubst_dict_2(self):
     """GVars._build_resubst_dict({'xxx' : 'yyy', 'vvv' : 'www'}) should == {'xxx' : '${yyy}', 'vvv' : '${www}'}"""
     self.assertEqual(GVars._build_resubst_dict({'xxx' : 'yyy', 'vvv' : 'www'}), {'xxx' : '${yyy}', 'vvv' : '${www}'})
コード例 #2
0
 def test__build_resubst_dict_1(self):
     """GVars._build_resubst_dict({}) should == {}"""
     self.assertEqual(GVars._build_resubst_dict({}),{})