summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/tests/t_otp.py8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/tests/t_otp.py b/src/tests/t_otp.py
index 66a03ee57..0aeb692e4 100644
--- a/src/tests/t_otp.py
+++ b/src/tests/t_otp.py
@@ -30,14 +30,10 @@
# test how OTP handles the case of short daemon restarts.
#
+from k5test import *
from Queue import Empty
import StringIO
import struct
-import subprocess
-import sys
-import socket
-import os
-import atexit
try:
from pyrad import packet, dictionary
@@ -46,8 +42,6 @@ except ImportError:
success('Warning: skipping OTP tests due to missing pyrad or old Python')
exit(0)
-from k5test import *
-
class RadiusDaemon(Process):
MAX_PACKET_SIZE = 4096