File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -171,8 +171,8 @@ def test_init_unique_system_id(self):
171
171
id2 = node2 .execute (query )[0 ]
172
172
173
173
# ids must increase
174
- self . assertGreater (id1 , id0 )
175
- self . assertGreater (id2 , id1 )
174
+ assert (id1 > id0 )
175
+ assert (id2 > id1 )
176
176
177
177
def test_node_exit (self ):
178
178
base_dir = None
@@ -1002,7 +1002,7 @@ def test_child_pids(self):
1002
1002
master .source_walsender
1003
1003
1004
1004
with master .connect () as con :
1005
- self . assertGreater (con .pid , 0 )
1005
+ assert (con .pid > 0 )
1006
1006
1007
1007
with master .replicate ().start () as replica :
1008
1008
Original file line number Diff line number Diff line change @@ -230,8 +230,8 @@ def test_init_unique_system_id(self):
230
230
id2 = node2 .execute (query )[0 ]
231
231
232
232
# ids must increase
233
- self . assertGreater (id1 , id0 )
234
- self . assertGreater (id2 , id1 )
233
+ assert (id1 > id0 )
234
+ assert (id2 > id1 )
235
235
236
236
def test_node_exit (self ):
237
237
with pytest .raises (expected_exception = QueryException ):
@@ -1045,7 +1045,7 @@ def test_child_pids(self):
1045
1045
master .source_walsender
1046
1046
1047
1047
with master .connect () as con :
1048
- self . assertGreater (con .pid , 0 )
1048
+ assert (con .pid > 0 )
1049
1049
1050
1050
with master .replicate ().start () as replica :
1051
1051
You can’t perform that action at this time.
0 commit comments