Migrate from nose_parameterized to parameterized
This commit is contained in:
parent
04144863fa
commit
1598723d4c
|
@ -21,7 +21,7 @@ import ckanext.privatedatasets.actions as actions
|
|||
import unittest
|
||||
|
||||
from mock import MagicMock
|
||||
from nose_parameterized import parameterized
|
||||
from parameterized import parameterized
|
||||
|
||||
PARSER_CONFIG_PROP = 'ckan.privatedatasets.parser'
|
||||
IMPORT_ERROR_MSG = 'Unable to load the module'
|
||||
|
|
|
@ -21,7 +21,7 @@ import unittest
|
|||
import ckanext.privatedatasets.auth as auth
|
||||
|
||||
from mock import MagicMock
|
||||
from nose_parameterized import parameterized
|
||||
from parameterized import parameterized
|
||||
|
||||
|
||||
class AuthTest(unittest.TestCase):
|
||||
|
|
|
@ -21,7 +21,7 @@ import ckanext.privatedatasets.controllers.ui_controller as controller
|
|||
import unittest
|
||||
|
||||
from mock import MagicMock, ANY
|
||||
from nose_parameterized import parameterized
|
||||
from parameterized import parameterized
|
||||
|
||||
|
||||
class UIControllerTest(unittest.TestCase):
|
||||
|
|
|
@ -21,7 +21,7 @@ import unittest
|
|||
import ckanext.privatedatasets.converters_validators as conv_val
|
||||
|
||||
from mock import MagicMock
|
||||
from nose_parameterized import parameterized
|
||||
from parameterized import parameterized
|
||||
|
||||
|
||||
class ConvertersValidatorsTest(unittest.TestCase):
|
||||
|
|
|
@ -21,7 +21,7 @@ import unittest
|
|||
import ckanext.privatedatasets.parsers.fiware as fiware
|
||||
|
||||
from mock import MagicMock
|
||||
from nose_parameterized import parameterized
|
||||
from parameterized import parameterized
|
||||
|
||||
|
||||
TEST_CASES = {
|
||||
|
|
|
@ -21,7 +21,7 @@ import unittest
|
|||
import ckanext.privatedatasets.helpers as helpers
|
||||
|
||||
from mock import MagicMock
|
||||
from nose_parameterized import parameterized
|
||||
from parameterized import parameterized
|
||||
|
||||
|
||||
class HelpersTest(unittest.TestCase):
|
||||
|
|
|
@ -22,7 +22,7 @@ import copy
|
|||
import ckanext.privatedatasets.plugin as plugin
|
||||
|
||||
from mock import MagicMock
|
||||
from nose_parameterized import parameterized
|
||||
from parameterized import parameterized
|
||||
|
||||
|
||||
class PluginTest(unittest.TestCase):
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
|
||||
from __future__ import unicode_literals
|
||||
|
||||
from nose_parameterized import parameterized
|
||||
from parameterized import parameterized
|
||||
from selenium import webdriver
|
||||
from selenium.webdriver.common.by import By
|
||||
from selenium.webdriver.support.ui import Select, WebDriverWait
|
||||
|
|
Loading…
Reference in New Issue