コード例 #1
0
ファイル: test_crons.py プロジェクト: elysium001/zamboni
 def test_cleaned(self):
     with private_storage.open(self.file, 'w') as f:
         f.write('.')
     clean_old_signed(-60)
     assert not private_storage.exists(self.file)
コード例 #2
0
ファイル: test_crons.py プロジェクト: ayushagrawal288/zamboni
 def test_cleaned(self):
     with storage.open(self.file, 'w') as f:
         f.write('.')
     clean_old_signed(-60)
     assert not storage.exists(self.file)
コード例 #3
0
 def test_cleaned(self):
     storage.open(self.file, "w")
     clean_old_signed(-60)
     assert not storage.exists(self.file)
コード例 #4
0
ファイル: test_crons.py プロジェクト: andymckay/zamboni
 def test_not_cleaned(self):
     storage.open(self.file, 'w')
     clean_old_signed()
     assert storage.exists(self.file)
コード例 #5
0
ファイル: test_crons.py プロジェクト: jamesthechamp/zamboni
 def test_not_cleaned(self):
     with storage.open(self.file, 'w') as f:
         f.write('.')
     clean_old_signed()
     assert storage.exists(self.file)
コード例 #6
0
 def test_cleaned(self):
     storage.open(self.file, 'w')
     clean_old_signed(-60)
     assert not storage.exists(self.file)
コード例 #7
0
 def test_not_cleaned(self):
     with private_storage.open(self.file, 'w') as f:
         f.write('.')
     clean_old_signed()
     assert private_storage.exists(self.file)