mirror of
https://github.com/BOSWatch/BW3-Core.git
synced 2025-12-06 07:12:04 +01:00
fixe some testing issues
This commit is contained in:
parent
aeaea325e9
commit
61b4cc6631
|
|
@ -81,4 +81,4 @@ for alaRouter in config.get("alarmRouter"):
|
||||||
routerList[str(alaRouter)].call(bwPack)
|
routerList[str(alaRouter)].call(bwPack)
|
||||||
|
|
||||||
|
|
||||||
exit(0)
|
#exit(0)
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,6 @@
|
||||||
@description: Unittests for BOSWatch. File must be _run as "pytest" unittest
|
@description: Unittests for BOSWatch. File must be _run as "pytest" unittest
|
||||||
"""
|
"""
|
||||||
import logging
|
import logging
|
||||||
import time
|
|
||||||
import pytest
|
import pytest
|
||||||
|
|
||||||
from boswatch.network.broadcast import BroadcastServer
|
from boswatch.network.broadcast import BroadcastServer
|
||||||
|
|
|
||||||
|
|
@ -16,9 +16,9 @@
|
||||||
"""
|
"""
|
||||||
import logging
|
import logging
|
||||||
|
|
||||||
from boswatch.descriptor.descriptor import Descriptor
|
from module.descriptor import Descriptor
|
||||||
from boswatch.descriptor.descriptor import DescriptionList
|
from module.descriptor import DescriptionList
|
||||||
from boswatch.packet.packet import Packet
|
from boswatch.packet import Packet
|
||||||
|
|
||||||
|
|
||||||
class Test_Descriptor:
|
class Test_Descriptor:
|
||||||
|
|
|
||||||
|
|
@ -16,7 +16,7 @@
|
||||||
"""
|
"""
|
||||||
import logging
|
import logging
|
||||||
|
|
||||||
import boswatch.filter.doubeFilter
|
from module.filter.doubleFilter import DoubleFilter
|
||||||
|
|
||||||
|
|
||||||
class Test_DoubleFilter:
|
class Test_DoubleFilter:
|
||||||
|
|
|
||||||
|
|
@ -17,7 +17,7 @@
|
||||||
import logging
|
import logging
|
||||||
import pytest
|
import pytest
|
||||||
|
|
||||||
from boswatch.packet.packet import Packet
|
from boswatch.packet import Packet
|
||||||
|
|
||||||
|
|
||||||
class Test_Packet:
|
class Test_Packet:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue