Example #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))
Example #2
0
 def test_is_included_different(self):
     a = {'a': 1}
     b = {'a': 2}
     self.assert_(not upload.is_included(a, b))
Example #3
0
 def test_is_included_same(self):
     a = {'a': 1}
     self.assert_(upload.is_included(a, a))
Example #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))
Example #5
0
 def test_is_included_different(self):
     a = {'a': 1}
     b = {'a': 2}
     self.assert_(not upload.is_included(a, b))
Example #6
0
 def test_is_included_same(self):
     a = {'a': 1}
     self.assert_(upload.is_included(a, a))