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 11#!/usr/bin/env python
22# -*- coding: utf-8 -*-
3-
3+ from __future__ import print_function
44import time
55
66
@@ -29,7 +29,8 @@ class NoTalkProxy(Proxy):
2929 def talk (self ):
3030 print ("Proxy checking for Sales Manager availability" )
3131 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" )
3334
3435
3536if __name__ == '__main__' :
Original file line number Diff line number Diff line change @@ -12,12 +12,18 @@ def test_instances_shall_reference_same_object(self):
1212 self .assertEqual (c1 , c2 )
1313 self .assertEqual (id (c1 ), id (c2 ))
1414
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+ """
1619 c1 = Card ('9' , 'a' )
1720 c2 = Card ('9' , 'b' )
1821 self .assertNotEqual (id (c1 ), id (c2 ))
1922
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+ """
2127 c1 = Card ('9' , 'h' )
2228 c2 = Card ('A' , 'h' )
2329 self .assertNotEqual (id (c1 ), id (c2 ))
You can’t perform that action at this time.
0 commit comments