Re:True hacker resume: CV as Python unit test
by ElliotH on Thursday July 15, 2010 @06:00PM
(#1519385)
Yup, the companies namespace is theoretical (containing presumably every company in existence) and contains a class YourCompany - that represents the interviewer's company.
Because companies doesn't actually exist there is an import error. If you were to create a class to substitute in you'd need something like:
class YourCompany:
def unit_tests_code():
return True
...
Because companies doesn't actually exist there is an import error. If you were to create a class to substitute in you'd need something like: