Example #1
0
 def test_has_present(self):
     transport = MemoryTransport()
     transport.append_bytes('foo', 'content')
     self.assertEquals(True, transport.has('foo'))
Example #2
0
 def test_has_present(self):
     transport = MemoryTransport()
     transport.append_bytes('foo', 'content')
     self.assertEquals(True, transport.has('foo'))
Example #3
0
 def test_has_missing(self):
     transport = MemoryTransport()
     self.assertEquals(False, transport.has('foo'))
Example #4
0
 def test_has_missing(self):
     transport = MemoryTransport()
     self.assertEquals(False, transport.has('foo'))