mirror of
https://gitlab.com/apparmor/apparmor
synced 2025-08-31 14:25:52 +00:00
Order imports and module-level dunder name assignments.
This commit is contained in:
@@ -15,12 +15,11 @@
|
||||
# - check cache not used if parser in $PATH is newer
|
||||
# - check cache used for force-complain, disable symlink, etc.
|
||||
|
||||
from argparse import ArgumentParser
|
||||
import os
|
||||
import shutil
|
||||
import time
|
||||
import tempfile
|
||||
import unittest
|
||||
from argparse import ArgumentParser
|
||||
|
||||
import testlib
|
||||
|
||||
|
@@ -13,10 +13,10 @@
|
||||
#
|
||||
# ------------------------------------------------------------------
|
||||
|
||||
from argparse import ArgumentParser
|
||||
import os
|
||||
import unittest
|
||||
import subprocess
|
||||
import unittest
|
||||
from argparse import ArgumentParser
|
||||
|
||||
import testlib
|
||||
|
||||
config = None
|
||||
|
@@ -10,11 +10,12 @@
|
||||
#
|
||||
# ------------------------------------------------------------------
|
||||
|
||||
from testlib import read_features_dir
|
||||
from argparse import ArgumentParser
|
||||
import os
|
||||
from argparse import ArgumentParser
|
||||
from sys import stderr, exit
|
||||
|
||||
from testlib import read_features_dir
|
||||
|
||||
DEFAULT_FEATURES_DIR = '/sys/kernel/security/apparmor/features'
|
||||
|
||||
|
||||
|
@@ -13,13 +13,14 @@
|
||||
# TODO
|
||||
# - finish adding suppressions for valgrind false positives
|
||||
|
||||
from argparse import ArgumentParser
|
||||
import os
|
||||
import sys
|
||||
import unittest
|
||||
import testlib
|
||||
from argparse import ArgumentParser
|
||||
from tempfile import NamedTemporaryFile
|
||||
|
||||
import testlib
|
||||
|
||||
DEFAULT_TESTDIR = "./simple_tests/vars"
|
||||
VALGRIND_ERROR_CODE = 151
|
||||
VALGRIND_ARGS = ['--leak-check=full', '--error-exitcode=%d' % (VALGRIND_ERROR_CODE)]
|
||||
|
Reference in New Issue
Block a user