add verification change to test_resume_job

This commit is contained in:
Daniel Bicho 2017-10-13 12:13:51 +01:00
parent 36e323c942
commit 378c097c29

View File

@ -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