by: Will Stuyvesant |
last post by:
I have a unittest testfile like this:
----------------------- test_mod.py ---------------------
import sys
sys.path.append('..')
import unittest
import mod
class...
|
by: Paul Moore |
last post by:
One of the things I really dislike about Unittest (compared, say, to a
number of adhoc testing tricks I've used in the past, and to Perl's
"standard" testing framework) is that the...
|
by: Danny Shevitz |
last post by:
Why doesn't the following code snippet work?
The error is
ImportError: No module named myTestCase2
TIA,
Danny
%<--------------------------------------------------------------------
|
by: Remy Blank |
last post by:
Ok, here we go.
I added the possibility for tests using the unittest.py framework
to be skipped. Basically, I added two methods to TestCase:
TestCase.skip(msg): skips unconditionally...
|
by: Jorgen Grahn |
last post by:
I have a set of tests in different modules: test_foo.py, test_bar.py and so
on. All of these use the simplest possible internal layout: a number of
classes containing test*() methods, and the good...
|
by: ajikoe |
last post by:
Hello
I found something strange in my unittest :
This code is ok (will report error ):
class MyTest1(unittest.TestCase):
def runTest(self):
self.assertEqual(2,3)
pass
|
by: David Vincent |
last post by:
-----BEGIN PGP SIGNED MESSAGE-----
Hello
I'm hoping to get some insight into a situation that seems odd to me.
My Python experience is limited; I've just started using the unittest
module....
|
by: Oleg Paraschenko |
last post by:
Hello,
I decided to re-use functionality of "unittest" module for my purposes.
More precisely, I have a list of folders. For each folder, code should
enter to the folder, execute a command and...
|
by: Chris Fonnesbeck |
last post by:
I have built the following unit test, observing the examples laid out
in the python docs:
class testMCMC(unittest.TestCase):
def setUp(self):
# Create an instance of the sampler...
|
by: Chris Fonnesbeck |
last post by:
I have a module for which I am trying to code a unit test. However,
when I run unittest.main(), I get:
In : import PyMC
In : PyMC.unittest.main()
...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
|