File tree 1 file changed +5
-7
lines changed
readthedocs/rtd_tests/tests
1 file changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -138,7 +138,6 @@ def test_command_not_recorded(self):
138
138
'output' : '' ,
139
139
'state' : 'finished' ,
140
140
'builder' : mock .ANY ,
141
- 'exit_code' : 0 ,
142
141
})
143
142
144
143
def test_record_command_as_success (self ):
@@ -177,7 +176,7 @@ def test_record_command_as_success(self):
177
176
self .mocks .mocks ['api_v2.build' ]().put .assert_called_with ({
178
177
'id' : DUMMY_BUILD_ID ,
179
178
'version' : self .version .pk ,
180
- 'success' : False ,
179
+ 'success' : True ,
181
180
'project' : self .project .pk ,
182
181
'setup_error' : u'' ,
183
182
'length' : mock .ANY ,
@@ -186,7 +185,7 @@ def test_record_command_as_success(self):
186
185
'output' : '' ,
187
186
'state' : 'finished' ,
188
187
'builder' : mock .ANY ,
189
- 'exit_code' : 1 ,
188
+ 'exit_code' : 0 ,
190
189
})
191
190
192
191
def test_incremental_state_update_with_no_update (self ):
@@ -744,10 +743,9 @@ def test_command_not_recorded(self):
744
743
self .mocks .mocks ['api_v2.build' ]().put .assert_called_with ({
745
744
'id' : DUMMY_BUILD_ID ,
746
745
'version' : self .version .pk ,
747
- 'success' : False ,
746
+ 'success' : True ,
748
747
'project' : self .project .pk ,
749
748
'setup_error' : '' ,
750
- 'exit_code' : 1 ,
751
749
'length' : 0 ,
752
750
'error' : '' ,
753
751
'setup' : '' ,
@@ -797,10 +795,10 @@ def test_record_command_as_success(self):
797
795
self .mocks .mocks ['api_v2.build' ]().put .assert_called_with ({
798
796
'id' : DUMMY_BUILD_ID ,
799
797
'version' : self .version .pk ,
800
- 'success' : False ,
798
+ 'success' : True ,
801
799
'project' : self .project .pk ,
802
800
'setup_error' : '' ,
803
- 'exit_code' : 1 ,
801
+ 'exit_code' : 0 ,
804
802
'length' : 0 ,
805
803
'error' : '' ,
806
804
'setup' : '' ,
You can’t perform that action at this time.
0 commit comments