Run individual nose-parameterized tests

I am working on a Django project, and we are using nose-parameterized library. I can see all of the parameterized tests in the runner if I run the full class, but then if I try to run just by...

skip only one parameter from the parameterized list in python nose-parameterized

As I understand, parameterized.expand([1, 2, 3]) will create three test cases. I would like to know how can I skip only one of them? I know that @unitest.skip() will skip the whole 3 test cases, I...

How to dynamically create parameterized test from the file (json or yaml) in python

Really need an advice how to dynamically create parameterized tests from the file (json or yaml) in python. File contains list of urls file example : { "name":"url_1",...

Running specific parameterized nose tests

Currently using nose_parameterized to run a large number of integration tests. When looking to deploy to production or something similar, this works wonderfully. The drawback is that we're now at...

Can nose-parametrized be used with proboscis?

Is it possible to combine https://pypi.python.org/pypi/nose-parameterized with https://pypi.python.org/pypi/proboscis ? Or is there any other way to achieve such functionality with...

How to suppress py.test internal deprecation warnings

Is there a way to suppress the pytest's internal deprecation warnings? Context: I'm looking to evaluate the difficulty of porting a test suite from nose to pytest. The suite is fairly large and...

Syntax for generic types parameterized by generic records

Suppose I have defined the generic record type GenericType1<'T> = {MyField : 'T} and I want to define another generic type parametrized by this type. Following my C# nose, I would...

PyCharm errors for valid python code

I posted the following question regarding nose and parameterized tests: use-class-method-in-nose-parameterize.expand call and I got my answer, but now I wonder why PyCharm is failing to recognize...

use class method in nose parameterize.expand call

I have a generator method that is building a large set of test criteria, I know i can make a non class method to be called, but I much rather have the parameter building method be part of my test...

Best way to test a bunch of files with python

I'm trying to process a bunch of files, which aren't known until the testing begins, and I want to add testing mechanisms to the processing so I know if there are any errors and get a report out...

`No module named nose_parameterized` during theano installation

At the moment I am trying to install theano on my ubuntu 16.04 system with cuda support. The installation process itself went well until I tried to test the installation: python -c "import...

Print name of test function in nose_parametrized

I have test classes that extend unittest.TestCase, and use nose_parameterized for parameterization. I'm using nosetests -v to run the tests. I have nosetests version 1.3.7. I'd like the test...

Apply different decorators based on a condition

I'm using unittest and nose-parametarized, and want to apply different decorators to a test based on a condition. I have a test and I want to skip unittest.skip the test or execute it...

PySpark - Class Not Found Exception: org.tensorframes.ShapeDescription

I am getting the following exception while running Deep Learning Pipeline in Spark. Versions of tensorflow and tensorframes : 2.0.0 conda : 4.8.3 pip : 20.0.2 python: 3.6 The exception comes...

How to run pip3+git from behind proxy with docker?

How to set the git proxy as when run with pip3 ? Following instructions from https://github.com/nouiz/Theano-Docker When I run docker build -t theano_simple -f ...

How To Fix "TypeError: 'NoneType' object is not callable"

When I run my script: from selenium import webdriver # from selenium.webdriver.firefox.firefox_binary import FirefoxBinary from selenium.webdriver.common.desired_capabilities import...

Python Testing how to run parameterised Testcases and pass a parameter to setupClass

I have an python unitest. In the setupClass method I so some timeconsuming tasks... The tests itself run very fast. Now i would like to run the same Testcase with multiple sets of parameters. How...

How to access class property in decorator in Python?

I am trying to use a nose_parameterized test and want to use it for a unittest method. from nose.tools import assert_equal from nose_parameterized import parameterized import unittest Class...

Airflow webserver not starting in 1.10

Trying to migrate from Airflow 1.9 to Airflow 1.10. After some effort I was able to install the new version but could not load the web UI. When I try to start webserver It gives an error of file...

Gunicorn SSL exception

I am runninug Gunicorn 19.9.0 and when accessing the webpage I receive an exception. This causes the browser the gunicorn to freeze for a few minutes until it is able to start serving again. These...