From 43672d31ae26901c5dc445efc01f8fb7da5d5f81 Mon Sep 17 00:00:00 2001 From: Zack Cerza Date: Fri, 28 Jul 2023 12:33:14 -0600 Subject: [PATCH] test_nodes.py: Fix two linter errors Signed-off-by: Zack Cerza --- paddles/tests/controllers/test_nodes.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/paddles/tests/controllers/test_nodes.py b/paddles/tests/controllers/test_nodes.py index fdfb5e0..c17498d 100644 --- a/paddles/tests/controllers/test_nodes.py +++ b/paddles/tests/controllers/test_nodes.py @@ -1,5 +1,3 @@ -import pytest - from paddles.tests import TestApp from paddles.models import Node, Job, start, commit @@ -317,7 +315,6 @@ def test_update(self): def test_delete(self): node_name = 'a_node' - user = 'a_user' self.app.post_json('/nodes/', dict(name=node_name)) response = self.app.get('/nodes/{name}/'.format(name=node_name)) assert response.json['name'] == node_name