mirror of
https://github.com/internetarchive/brozzler.git
synced 2025-07-24 07:20:53 -04:00
add verification change to test_resume_job
This commit is contained in:
parent
36e323c942
commit
378c097c29
1 changed files with 6 additions and 5 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue