Skip to content

Commit

Permalink
Flake covers integration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Xierumeng committed Feb 19, 2024
1 parent e1e68f9 commit 204ddd2
Show file tree
Hide file tree
Showing 19 changed files with 6 additions and 5 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ extend-exclude=
# Submodules
modules/common/,
# Tests
*tests/
*/unit/
Empty file added tests/integration/__init__.py
Empty file.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

def simulate_detect_target_worker(
timestamp: float, detections_queue: queue_proxy_wrapper.QueueProxyWrapper
):
) -> None:
"""
Place the detection into the queue.
"""
Expand All @@ -40,7 +40,7 @@ def simulate_detect_target_worker(

def simulate_flight_input_worker(
timestamp: float, odometry_queue: queue_proxy_wrapper.QueueProxyWrapper
):
) -> None:
"""
Place the odometry into the queue.
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@

def simulate_previous_worker(
image_path: pathlib.Path, in_queue: queue_proxy_wrapper.QueueProxyWrapper
):
) -> None:
"""
Place the image into the queue.
"""
Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
WORK_COUNT = 3


def simulate_previous_worker(in_queue: queue_proxy_wrapper.QueueProxyWrapper):
def simulate_previous_worker(in_queue: queue_proxy_wrapper.QueueProxyWrapper) -> None:
"""
Place the image into the queue.
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ def main() -> int:
Main function.
"""
# Setup
# TODO: Common change logging option
camera = video_input.VideoInput(
CAMERA,
)
Expand Down
File renamed without changes.
Empty file added tests/unit/__init__.py
Empty file.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 204ddd2

Please sign in to comment.