def test__get_s3_bucket_vars_returns_correct_array(self): mockreturn = fabfile._get_s3_bucket_vars() self.assertEquals(mockreturn[0],'my-bucket') self.assertEquals(mockreturn[1],'kibana-backups')
def test__get_s3_bucket_vars_returns_array_size_two(self): mockreturnlength = fabfile._get_s3_bucket_vars().__len__() self.assertEquals(mockreturnlength,2)