diff --git a/SAS/ResourceAssignment/ResourceAssigner/test/ra_test_environment.py b/SAS/ResourceAssignment/ResourceAssigner/test/ra_test_environment.py index 03a0a4db19a91eb245fb736d1ee017dd2fdc111c..c31d69e1b5274f62f4dee230469e64848d1660f6 100644 --- a/SAS/ResourceAssignment/ResourceAssigner/test/ra_test_environment.py +++ b/SAS/ResourceAssignment/ResourceAssigner/test/ra_test_environment.py @@ -83,14 +83,6 @@ def main(): from datetime import datetime, timedelta with RATestEnvironment(exchange=options.exchange, broker=options.broker) as instance: - with RARPC.create(exchange=options.exchange, broker=options.broker) as rarpc: - rarpc.do_assignment(2000000, { 'otdb_id': 2000000, - 'task_type': 'observation', - 'task_subtype': 'bfmeasurement', - 'status': 'approved', - 'starttime': datetime.utcnow()+timedelta(hours=1), - 'endtime': datetime.utcnow()+timedelta(hours=2)}) - # print some nice info for the user to use the test servers... # use print instead of log for clean lines. for h in logging.root.handlers: