Skip to content

Commit 070c2cf

Browse files
author
fkromer
committed
change: refactor (work -> talk)
1 parent 4e70c41 commit 070c2cf

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

test_proxy.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,10 @@ def tearDown(cls):
3030
cls.output.close()
3131
sys.stdout = cls.saved_stdout
3232

33-
def test_sales_manager_shall_work_through_proxy_with_delay(cls):
33+
def test_sales_manager_shall_talk_through_proxy_with_delay(cls):
3434
cls.p.busy = 'No'
3535
start_time = time()
36-
cls.p.work()
36+
cls.p.talk()
3737
end_time = time()
3838
execution_time = end_time - start_time
3939
print_output = cls.output.getvalue()
@@ -46,7 +46,7 @@ def test_sales_manager_shall_work_through_proxy_with_delay(cls):
4646
def test_sales_manager_shall_respond_through_proxy_with_delay(cls):
4747
cls.p.busy = 'Yes'
4848
start_time = time()
49-
cls.p.work()
49+
cls.p.talk()
5050
end_time = time()
5151
execution_time = end_time - start_time
5252
print_output = cls.output.getvalue()
@@ -75,10 +75,10 @@ def tearDown(cls):
7575
cls.output.close()
7676
sys.stdout = cls.saved_stdout
7777

78-
def test_sales_manager_shall_not_work_through_proxy_with_delay(cls):
78+
def test_sales_manager_shall_not_talk_through_proxy_with_delay(cls):
7979
cls.ntp.busy = 'No'
8080
start_time = time()
81-
cls.ntp.work()
81+
cls.ntp.talk()
8282
end_time = time()
8383
execution_time = end_time - start_time
8484
print_output = cls.output.getvalue()
@@ -91,7 +91,7 @@ def test_sales_manager_shall_not_work_through_proxy_with_delay(cls):
9191
def test_sales_manager_shall_not_respond_through_proxy_with_delay(cls):
9292
cls.ntp.busy = 'Yes'
9393
start_time = time()
94-
cls.ntp.work()
94+
cls.ntp.talk()
9595
end_time = time()
9696
execution_time = end_time - start_time
9797
print_output = cls.output.getvalue()

0 commit comments

Comments
 (0)