File tree Expand file tree Collapse file tree 2 files changed +11
-4
lines changed Expand file tree Collapse file tree 2 files changed +11
-4
lines changed Original file line number Diff line number Diff line change 1
1
#!/usr/bin/env python
2
2
# -*- coding: utf-8 -*-
3
-
3
+ from __future__ import print_function
4
4
import time
5
5
6
6
@@ -29,7 +29,8 @@ class NoTalkProxy(Proxy):
29
29
def talk (self ):
30
30
print ("Proxy checking for Sales Manager availability" )
31
31
time .sleep (0.1 )
32
- print ("This Sales Manager will not talk to you whether he/she is busy or not" )
32
+ print ("This Sales Manager will not talk to you" ,
33
+ "whether he/she is busy or not" )
33
34
34
35
35
36
if __name__ == '__main__' :
Original file line number Diff line number Diff line change @@ -12,12 +12,18 @@ def test_instances_shall_reference_same_object(self):
12
12
self .assertEqual (c1 , c2 )
13
13
self .assertEqual (id (c1 ), id (c2 ))
14
14
15
- def test_instances_with_different_suit_shall_reference_different_objects (self ):
15
+ def test_instances_with_different_suit (self ):
16
+ """
17
+ shall reference different objects
18
+ """
16
19
c1 = Card ('9' , 'a' )
17
20
c2 = Card ('9' , 'b' )
18
21
self .assertNotEqual (id (c1 ), id (c2 ))
19
22
20
- def test_instances_with_different_values_shall_reference_different_objects (self ):
23
+ def test_instances_with_different_values (self ):
24
+ """
25
+ shall reference different objects
26
+ """
21
27
c1 = Card ('9' , 'h' )
22
28
c2 = Card ('A' , 'h' )
23
29
self .assertNotEqual (id (c1 ), id (c2 ))
You can’t perform that action at this time.
0 commit comments