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