code_junkie

Unit testing with network-reliant code

Nov 10th, 2011
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. class LogicalDiskConsumer(object):
  2.  
  3. def __init__(self, arg1, arg2, LogicalDiskFactory)
  4. self.arg1=arg1
  5. self.arg2=arg2
  6. self.LogicalDisk=LogicalDiskFactory()
  7.  
  8. def consumedisk(self):
  9. self.LogicalDisk.someaction()
Add Comment
Please, Sign In to add comment