Skip to content

Commit 17fb724

Browse files
committed
reorganize module
1 parent 746c6f1 commit 17fb724

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

varnish/tests.py renamed to runtests.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
from varnish import VarnishManager
22
import unittest
33

4+
ADDR = raw_input('Varnish Management Address (ip:port): ')
45

56
class VarnishTests(unittest.TestCase):
67
def setUp(self):
7-
self.manager = VarnishManager((raw_input('Varnish Management Address (ip:port): '),))
8+
self.manager = VarnishManager((ADDR,))
89

910
def test_ping(self):
1011
result = self.manager.run('ping')[0][0]
File renamed without changes.

0 commit comments

Comments
 (0)