浏览代码

HUE-4503 [fb] Update tests with for bucket dates

Romain Rigaux 9 年之前
父节点
当前提交
9bc2d5b
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      desktop/libs/aws/src/aws/s3/s3stat_test.py

+ 2 - 2
desktop/libs/aws/src/aws/s3/s3stat_test.py

@@ -42,7 +42,7 @@ def test_from_bucket():
   eq_('boo', s.name)
   eq_('s3://boo', s.path)
   eq_(0, s.size)
-  eq_(0, s.atime)
+  eq_(None, s.atime)
 
 
 def test_from_key():
@@ -68,7 +68,7 @@ def test_for_s3_root():
   eq_('S3', s.name)
   eq_('s3://', s.path)
   eq_(0, s.size)
-  eq_(0, s.atime)
+  eq_(None, s.atime)
 
 
 class FakeBucket(object):