def test_clear_old_snapshots(self):
   flexmock(subprocess).should_receive('check_call').with_args([NODE_TOOL,
     'clearsnapshot']).and_return().times(1)
   cassandra_backup.clear_old_snapshots()
Exemple #2
0
 def test_clear_old_snapshots(self):
     flexmock(subprocess).should_receive('check_call').with_args(
         [NODE_TOOL, 'clearsnapshot']).and_return().times(1)
     cassandra_backup.clear_old_snapshots()