aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2023-07-12 09:43:26 +1200
committerTom Ryder <tom@sanctum.geek.nz>2023-07-12 12:42:59 +1200
commit1a0a4025608b611e23e0e73a8b23b51e86d2d0b1 (patch)
treed139beaf0125d7849a6f9b70ebc676642fe8380c
parentRun test.py through autopep8 (diff)
downloadssh_negotiate_term-1a0a4025608b611e23e0e73a8b23b51e86d2d0b1.tar.gz
ssh_negotiate_term-1a0a4025608b611e23e0e73a8b23b51e86d2d0b1.zip
Remove unused variables from test suite
-rw-r--r--test.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/test.py b/test.py
index 0e929ed..0b9da6a 100644
--- a/test.py
+++ b/test.py
@@ -76,7 +76,6 @@ class TestSSHNegotiateTerm(unittest.TestCase):
self.assertEqual(snt.term, 'screen')
def test_patterns_simple(self):
- config = self.snt_config
self.snt_config['patterns']['examplehost'] = '^examplehost$'
snt = SSHNegotiateTerm(
'screen-256color', ['ssh', 'examplehost'], self.snt_config)
@@ -86,7 +85,6 @@ class TestSSHNegotiateTerm(unittest.TestCase):
self.assertEqual(snt.term, 'screen-256color')
def test_pattern_complex(self):
- config = self.snt_config
self.snt_config['patterns']['complexhost'] = '^[a-z]{3}-[a-z]{2,}-[a-z]{2,}-[0-9]'
snt = SSHNegotiateTerm(
'screen-256color', ['ssh', 'abc-example-ar-1'], self.snt_config)