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()
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()