Example #1
0
    def test_restore_complete(self):

        self.assertTrue(
            restore_complete(('ongoing-request="false", '
                              'expiry-date="Fri, 23 Dec 2012 00:00:00 GMT"')))

        self.assertFalse(restore_complete('ongoing-request="true"'))
Example #2
0
    def test_restore_complete(self):

        self.assertTrue(
            s3.restore_complete(
                ('ongoing-request="false", '
                 'expiry-date="Fri, 23 Dec 2012 00:00:00 GMT"')))

        self.assertFalse(s3.restore_complete('ongoing-request="true"'))