Skip to content

Commit

Permalink
Fixed precommit and changed import in bringup tests
Browse files Browse the repository at this point in the history
Signed-off-by: Jakub Delicat <jakub.delicat@husarion.com>
  • Loading branch information
delihus committed Oct 25, 2023
1 parent 6707dd6 commit 10e01d9
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 128 deletions.
14 changes: 14 additions & 0 deletions rosbot_xl_bringup/setup.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
# Copyright 2023 Husarion
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

import os
from glob import glob
from setuptools import find_packages, setup
Expand Down
123 changes: 0 additions & 123 deletions rosbot_xl_bringup/test/bringup_test_node.py

This file was deleted.

2 changes: 1 addition & 1 deletion rosbot_xl_bringup/test/test_diff_drive_ekf.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
from launch.actions import IncludeLaunchDescription
from launch.substitutions import PathJoinSubstitution
from launch.launch_description_sources import PythonLaunchDescriptionSource
from bringup_test_node import BringupTestNode
from test_utils import BringupTestNode


@launch_pytest.fixture
Expand Down
4 changes: 1 addition & 3 deletions rosbot_xl_bringup/test/test_flake8.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,4 @@
@pytest.mark.linter
def test_flake8():
rc, errors = main_with_errors(argv=[])
assert rc == 0, "Found %d code style errors / warnings:\n" % len(
errors
) + "\n".join(errors)
assert rc == 0, "Found %d code style errors / warnings:\n" % len(errors) + "\n".join(errors)
2 changes: 1 addition & 1 deletion rosbot_xl_bringup/test/test_mecanum_ekf.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
from launch.actions import IncludeLaunchDescription
from launch.substitutions import PathJoinSubstitution
from launch.launch_description_sources import PythonLaunchDescriptionSource
from bringup_test_node import BringupTestNode
from test_utils import BringupTestNode


@launch_pytest.fixture
Expand Down

0 comments on commit 10e01d9

Please sign in to comment.