New tests to write.

This commit is contained in:
Itamar Turner-Trauring 2021-11-17 11:29:34 -05:00
parent 45c00e93c9
commit 5e341ad43a

View File

@ -285,6 +285,22 @@ class Bucket(unittest.TestCase):
result_of_read = br.remote_read(0, len(share_data)+1)
self.failUnlessEqual(result_of_read, share_data)
def test_bucket_expires_if_no_writes_for_30_minutes(self):
pass
def test_bucket_writes_delay_timeout(self):
pass
def test_bucket_finishing_writiing_cancels_timeout(self):
pass
def test_bucket_closing_cancels_timeout(self):
pass
def test_bucket_aborting_cancels_timeout(self):
pass
class RemoteBucket(object):
def __init__(self, target):
@ -559,7 +575,6 @@ class Server(unittest.TestCase):
writer.remote_abort()
self.failUnlessEqual(ss.allocated_size(), 0)
def test_allocate(self):
ss = self.create("test_allocate")