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