Пример #1
0
 def test_is_included_more(self):
     a = {'a': 1, 'b': 2}
     b = {'a': 1, 'b': 2, 'c': 3}
     self.assert_(upload.is_included(a, b))
Пример #2
0
 def test_is_included_different(self):
     a = {'a': 1}
     b = {'a': 2}
     self.assert_(not upload.is_included(a, b))
Пример #3
0
 def test_is_included_same(self):
     a = {'a': 1}
     self.assert_(upload.is_included(a, a))
Пример #4
0
 def test_is_included_more(self):
     a = {'a': 1, 'b': 2}
     b = {'a': 1, 'b': 2, 'c': 3}
     self.assert_(upload.is_included(a, b))
Пример #5
0
 def test_is_included_different(self):
     a = {'a': 1}
     b = {'a': 2}
     self.assert_(not upload.is_included(a, b))
Пример #6
0
 def test_is_included_same(self):
     a = {'a': 1}
     self.assert_(upload.is_included(a, a))