aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2016-09-23 11:55:02 +0200
committerGuido Günther <agx@sigxcpu.org>2016-09-23 12:06:44 +0200
commitb8c698a18e6b3d28b3ec9470e9ec86594bd755da (patch)
tree79e8141f812c23390e841f116f2043ea8366f826
parent2495852ae597b81d18177a716667106454ff2dbb (diff)
tests/test_process.py: flake8 clean
-rw-r--r--tests/test_process.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/test_process.py b/tests/test_process.py
index 91f5431..e9cc1e0 100644
--- a/tests/test_process.py
+++ b/tests/test_process.py
@@ -15,7 +15,6 @@
"""Test L{whatmaps.process} config"""
import os
-import sys
import unittest
import random
@@ -23,6 +22,7 @@ from whatmaps.process import Process
from . import context
+
class TestWhatmapsProcess(unittest.TestCase):
def setUp(self):
self.tmpdir = context.new_tmpdir(__name__)
@@ -33,7 +33,7 @@ class TestWhatmapsProcess(unittest.TestCase):
self.exe = os.path.join(self.piddir, 'exe')
self.cmdline = os.path.join(self.piddir, 'cmdline')
self.maps = os.path.join(self.piddir, 'maps')
- self._write_cmdline('doesnotmatter') # Write at least an empty cmdline
+ self._write_cmdline('doesnotmatter') # Write at least an empty cmdline
self._write_exe_symlink('acommand')
self._write_maps([['f32b43221000-7f32b4522000',
'---p',
@@ -47,7 +47,7 @@ class TestWhatmapsProcess(unittest.TestCase):
'fe:02',
'1704011',
'/lib/x86_64-linux-gnu/libselinux.so.1'],
- ])
+ ])
def _write_exe_symlink(self, name):
exe = os.path.join(str(self.tmpdir), name)