Skip to content

Commit 3db90df

Browse files
author
LandonTClipp
committed
Tests used outdated calls to object initializers.
1 parent f1a5790 commit 3db90df

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

tests/test_TORQUE.py

+2-5
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,7 @@ def test_simple( self ):
77
job1 = batch4py.job.TORQUE( "./batch.pbs" )
88
job2 = batch4py.job.TORQUE( "./batch.pbs" )
99

10-
print( job1.get_id() )
11-
print( job2.get_id() )
12-
13-
chain = batch4py.JobChain( 'pbs' )
10+
chain = batch4py.JobChain()
1411

1512
chain.add_job(job1)
1613
chain.add_job(job2)
@@ -22,7 +19,7 @@ def test_cycle( self ):
2219
job1 = batch4py.job.TORQUE( "./batch.pbs" )
2320
job2 = batch4py.job.TORQUE( "./batch.pbs" )
2421
job3 = batch4py.job.TORQUE( "./batch.pbs" )
25-
chain = batch4py.JobChain( 'pbs' )
22+
chain = batch4py.JobChain()
2623

2724
chain.add_job(job1)
2825
chain.add_job(job2)

0 commit comments

Comments
 (0)