mirror of
https://github.com/internetarchive/brozzler.git
synced 2025-02-24 00:29:53 -05:00
add verification change to test_resume_job
This commit is contained in:
parent
36e323c942
commit
378c097c29
@ -18,15 +18,15 @@ See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
'''
|
||||
|
||||
import brozzler
|
||||
import logging
|
||||
import argparse
|
||||
import doublethink
|
||||
import time
|
||||
import datetime
|
||||
import uuid
|
||||
import logging
|
||||
|
||||
import doublethink
|
||||
import pytest
|
||||
|
||||
import brozzler
|
||||
|
||||
args = argparse.Namespace()
|
||||
args.log_level = logging.INFO
|
||||
brozzler.cli.configure_logging(args)
|
||||
@ -215,6 +215,7 @@ def test_resume_job():
|
||||
site = list(frontier.job_sites(job.id))[0]
|
||||
|
||||
assert job.status == 'ACTIVE'
|
||||
assert job.stop_requested is None
|
||||
assert len(job.starts_and_stops) == 3
|
||||
assert job.starts_and_stops[2]['start']
|
||||
assert job.starts_and_stops[2]['stop'] is None
|
||||
|
Loading…
x
Reference in New Issue
Block a user