Tagged Questions
1
vote
1answer
127 views
Is there a good example of Python code for unit testing an api?
Do you know any good example of Python unit testing code for testing an API?
Thanks!
Update:
Found this very interesting question: ...
2
votes
2answers
174 views
How to populate a private container for unit test?
I have a class that defines a private (well, __container to be exact since it is python) container. I am using the information within said container as part of the logic of what the class does and ...
5
votes
2answers
69 views
Writing functional tests for a legacy project
I am trying to add a couple of tests to a legacy C project. The project basically consists of a command line tool that prints something to stdout every time an event happens. Now, since writing unit ...
4
votes
1answer
137 views
What is the typical Pythonic view on re-using python modules outside of their initial intent?
Short Question
Does it fly in the face of the Pythonic view to reuse / repurpose python modules for projects out side of their intent?
Background
Over the past several months I have been working on ...
5
votes
2answers
235 views
Is having a switch to turn mocking on or off a code smell?
I have a method that looks like this:
def foobar(mock=False, **kwargs):
# ... snipped
foobar actually makes several calls to Amazon S3 and returns a composed result.
In order to make this ...
2
votes
2answers
220 views
What is the best way to find a python google app engine coach? [closed]
Possible Duplicate:
How to find programming mentor?
i'm a software engineer and have been building Google App Engine apps with Python for about a year. I have a pretty good familiarity with ...