From 80cc1edc9cceadeae79a949ab42e892b106e208b Mon Sep 17 00:00:00 2001 From: Emily Date: Sun, 28 Jul 2024 18:22:10 +0100 Subject: [PATCH] Remove nose.tools imports --- tests/core/test_context.py | 1 - tests/core/test_regexp.py | 1 - tests/core/test_variable.py | 1 - tests/directives/test_block.py | 1 - tests/directives/test_directive.py | 1 - tests/parser/test_nginx_parser.py | 1 - tests/parser/test_raw_parser.py | 1 - tests/plugins/test_simply.py | 1 - 8 files changed, 8 deletions(-) diff --git a/tests/core/test_context.py b/tests/core/test_context.py index b9a6ac4..2238d0e 100644 --- a/tests/core/test_context.py +++ b/tests/core/test_context.py @@ -1,4 +1,3 @@ -from nose.tools import with_setup, assert_equals, assert_not_equals, assert_true from gixy.core.context import get_context, pop_context, push_context, purge_context, CONTEXTS, Context from gixy.directives.block import Root from gixy.core.variable import Variable diff --git a/tests/core/test_regexp.py b/tests/core/test_regexp.py index 10b7316..f7afcdf 100644 --- a/tests/core/test_regexp.py +++ b/tests/core/test_regexp.py @@ -1,4 +1,3 @@ -from nose.tools import assert_true, assert_false, assert_equals from gixy.core.regexp import Regexp ''' diff --git a/tests/core/test_variable.py b/tests/core/test_variable.py index 22167f4..1c0d672 100644 --- a/tests/core/test_variable.py +++ b/tests/core/test_variable.py @@ -1,4 +1,3 @@ -from nose.tools import assert_true, assert_false, assert_equals, with_setup from gixy.core.context import get_context, push_context, purge_context from gixy.directives.block import Root from gixy.core.regexp import Regexp diff --git a/tests/directives/test_block.py b/tests/directives/test_block.py index e878a0f..a9d0b85 100644 --- a/tests/directives/test_block.py +++ b/tests/directives/test_block.py @@ -1,4 +1,3 @@ -from nose.tools import assert_equals, assert_true, assert_false, assert_is_instance, assert_is_none, assert_is_not_none from gixy.parser.nginx_parser import NginxParser from gixy.directives.block import * diff --git a/tests/directives/test_directive.py b/tests/directives/test_directive.py index 53fd766..2ffddcc 100644 --- a/tests/directives/test_directive.py +++ b/tests/directives/test_directive.py @@ -1,4 +1,3 @@ -from nose.tools import assert_equals, assert_false, assert_true, assert_is_instance from gixy.parser.nginx_parser import NginxParser from gixy.directives.directive import * diff --git a/tests/parser/test_nginx_parser.py b/tests/parser/test_nginx_parser.py index a488c2b..61bf3a9 100644 --- a/tests/parser/test_nginx_parser.py +++ b/tests/parser/test_nginx_parser.py @@ -1,4 +1,3 @@ -from nose.tools import assert_equal, assert_is_instance from gixy.parser.nginx_parser import NginxParser from gixy.directives.directive import * from gixy.directives.block import * diff --git a/tests/parser/test_raw_parser.py b/tests/parser/test_raw_parser.py index dec851b..0dca9b2 100644 --- a/tests/parser/test_raw_parser.py +++ b/tests/parser/test_raw_parser.py @@ -1,4 +1,3 @@ -from nose.tools import assert_equals from gixy.parser.raw_parser import * diff --git a/tests/plugins/test_simply.py b/tests/plugins/test_simply.py index b619986..88535f3 100644 --- a/tests/plugins/test_simply.py +++ b/tests/plugins/test_simply.py @@ -1,4 +1,3 @@ -from nose.tools import assert_equals, assert_true, assert_in import os from os import path import json