File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -586,16 +586,16 @@ def thread_listen(ret):
586
586
client .flushdb ()
587
587
588
588
# Init table data
589
- config_db .set_entry (table_name_1 , test_key , test_data_1 )
590
- config_db .set_entry (table_name_2 , test_key , test_data_2 )
589
+ config_db .set_entry (table_name_1 , test_key , test_data )
590
+ config_db .set_entry (table_name_2 , test_key , test_data )
591
591
592
592
thread = multiprocessing .Process (target = thread_listen , args = (ret_data ,))
593
593
thread .start ()
594
594
time .sleep (5 )
595
595
thread .terminate ()
596
596
597
- assert ret_data [table_name_1 ] == {test_key : test_data_1 }
598
- assert ret_data [table_name_2 ] == {test_key : test_data_2 }
597
+ assert ret_data [table_name_1 ] == {test_key : test_data }
598
+ assert ret_data [table_name_2 ] == {test_key : test_data }
599
599
600
600
601
601
def test_DBConnectFailure ():
You can’t perform that action at this time.
0 commit comments