コード例 #1
0
ファイル: test_collections.py プロジェクト: tirkarthi/callee
 def test_some_ordereddict(self):
     d = _OrderedDict([('a', 1)])
     self.assert_match(d)
     self.assert_match(d, str, int)
     self.assert_match(d, keys=str, values=int)
     self.assert_match(d, of=(str, int))
コード例 #2
0
ファイル: test_collections.py プロジェクト: Xion/callee
 def test_some_ordereddict(self):
     d = _OrderedDict([('a', 1)])
     self.assert_match(d)
     self.assert_match(d, str, int)
     self.assert_match(d, keys=str, values=int)
     self.assert_match(d, of=(str, int))
コード例 #3
0
ファイル: test_collections.py プロジェクト: tirkarthi/callee
 def test_empty_ordereddict(self):
     d = _OrderedDict()
     self.assert_match(d)
     self.assert_match(d, str, int)
     self.assert_match(d, keys=str, values=int)
     self.assert_match(d, of=(str, int))
コード例 #4
0
ファイル: test_collections.py プロジェクト: Xion/callee
 def test_empty_ordereddict(self):
     d = _OrderedDict()
     self.assert_match(d)
     self.assert_match(d, str, int)
     self.assert_match(d, keys=str, values=int)
     self.assert_match(d, of=(str, int))