move path manipulation into single module
Change-Id: If88aafd03b757715b82cd733b3155e656c252b06 Reviewed-on: https://forge.frm2.tum.de/review/19529 Tested-by: JenkinsCodeReview <bjoern_pedersen@frm2.tum.de> Reviewed-by: Enrico Faulhaber <enrico.faulhaber@frm2.tum.de>
This commit is contained in:
parent
50c3e5e47a
commit
0deb462c6a
4
test/__init__.py
Normal file
4
test/__init__.py
Normal file
@ -0,0 +1,4 @@
|
||||
import sys
|
||||
from os import path
|
||||
|
||||
sys.path.insert(0, path.abspath(path.join(path.dirname(__file__), '..')))
|
@ -22,14 +22,10 @@
|
||||
"""test base client."""
|
||||
from __future__ import division, print_function
|
||||
|
||||
import sys
|
||||
from collections import OrderedDict
|
||||
from os import path
|
||||
|
||||
import pytest
|
||||
|
||||
sys.path.insert(0, path.abspath(path.join(path.dirname(__file__), '..')))
|
||||
|
||||
from secop.client.baseclient import Client
|
||||
|
||||
|
||||
|
@ -23,14 +23,9 @@
|
||||
|
||||
from __future__ import division, print_function
|
||||
|
||||
import sys
|
||||
from os import path
|
||||
|
||||
# no fixtures needed
|
||||
import pytest
|
||||
|
||||
sys.path.insert(0, path.abspath(path.join(path.dirname(__file__), '..')))
|
||||
|
||||
from secop.datatypes import (ArrayOf, BLOBType, BoolType, DataType, EnumType,
|
||||
FloatRange, IntRange, ProgrammingError,
|
||||
StringType, StructOf, TupleOf, get_datatype)
|
||||
|
@ -23,14 +23,9 @@
|
||||
|
||||
from __future__ import division, print_function
|
||||
|
||||
import sys
|
||||
from os import path
|
||||
|
||||
# no fixtures needed
|
||||
import pytest
|
||||
|
||||
sys.path.insert(0, path.abspath(path.join(path.dirname(__file__), '..')))
|
||||
|
||||
from secop.lib.enum import Enum, EnumMember
|
||||
|
||||
|
||||
|
@ -22,14 +22,9 @@
|
||||
"""test data types."""
|
||||
from __future__ import division, print_function
|
||||
|
||||
import sys
|
||||
from os import path
|
||||
|
||||
# no fixtures needed
|
||||
import pytest
|
||||
|
||||
sys.path.insert(0, path.abspath(path.join(path.dirname(__file__), '..')))
|
||||
|
||||
from secop.datatypes import BoolType, EnumType
|
||||
from secop.metaclass import ModuleMeta
|
||||
from secop.modules import Communicator, Drivable, Module, Readable, Writable
|
||||
|
@ -23,14 +23,9 @@
|
||||
|
||||
from __future__ import division, print_function
|
||||
|
||||
import sys
|
||||
from os import path
|
||||
|
||||
# no fixtures needed
|
||||
import pytest
|
||||
|
||||
sys.path.insert(0, path.abspath(path.join(path.dirname(__file__), '..')))
|
||||
|
||||
from secop.datatypes import BoolType
|
||||
from secop.params import Command, Override, Parameter
|
||||
|
||||
|
@ -23,14 +23,10 @@
|
||||
|
||||
from __future__ import division, print_function
|
||||
|
||||
import sys
|
||||
from collections import OrderedDict
|
||||
from os import path
|
||||
|
||||
import pytest
|
||||
|
||||
sys.path.insert(0, path.abspath(path.join(path.dirname(__file__), '..')))
|
||||
|
||||
from secop.parse import Parser
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user