Hello fellow python hackers,
I'm not an expert when it comes to Python and I'm totally stuck in a
situation. All of our unit tests are written using built-in 'unittest'
module. We've a requirement where we want to run a method only once
for our unit tests. Some background: all of our tests are
On Sep 28, 12:45 pm, Oltmans rolf.oltm...@gmail.com wrote:
Hello fellow python hackers,
I'm not an expert when it comes to Python and I'm totally stuck in a
situation. All of our unit tests are written using built-in 'unittest'
module. We've a requirement where we want to run a method only
Oltmans wrote:
... All of our unit tests are written using built-in 'unittest'
module. We've a requirement where we want to run a method only once
for our unit tests
So I'm completely stumped as to how to create a method that will only
be called only once for Calculator class. Can you