Skip to content

Commit

Permalink
changing the script name to what we had before
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Henkel <[email protected]>
  • Loading branch information
ct2034 committed Jul 18, 2023
1 parent 3d46d47 commit 3f472cb
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,4 @@ homepage = "https://github.com/boschresearch/ros_license_toolkit"
repository = "https://github.com/boschresearch/ros_license_toolkit"

[project.scripts]
ros-license-toolkit = "ros_license_toolkit.main:main"
ros_license_toolkit = "ros_license_toolkit.main:main"
2 changes: 1 addition & 1 deletion test/systemtest/test_all_packages.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def test_all(self):
Check that the output contains all package names.
"""
with subprocess.Popen(
["ros-license-toolkit", "test/_test_data"],
["ros_license_toolkit", "test/_test_data"],
stdout=subprocess.PIPE,
stderr=subprocess.PIPE,
) as process:
Expand Down
2 changes: 1 addition & 1 deletion test/systemtest/test_documentation.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class TestDocumentation(unittest.TestCase):
def test_readme(self):
"""Check if the help text is up to date."""
with subprocess.Popen(
["ros-license-toolkit", "-h"],
["ros_license_toolkit", "-h"],
stdout=subprocess.PIPE,
stderr=subprocess.PIPE,
) as process:
Expand Down
2 changes: 1 addition & 1 deletion test/systemtest/test_license_per_repo.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def _test_repo(self, repo_name, pkg_names, license_name):
make_repo(repo_path)
# test
with subprocess.Popen(
["ros-license-toolkit", repo_path],
["ros_license_toolkit", repo_path],
stdout=subprocess.PIPE,
stderr=subprocess.PIPE
) as process:
Expand Down
4 changes: 2 additions & 2 deletions test/systemtest/test_separate_pkgs.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def test_deep_package_folder(self):
"test/_test_data/test_deep_package_folder/deeper/test_pkg_deep"
]:
with subprocess.Popen(
["ros-license-toolkit", call_path],
["ros_license_toolkit", call_path],
stdout=subprocess.PIPE,
stderr=subprocess.PIPE,
) as process:
Expand Down Expand Up @@ -105,7 +105,7 @@ def test_pkg_unknown_license(self):
package.xml."""
# using subprocess.Popen instead of main() to capture stdout
with subprocess.Popen(
["ros-license-toolkit",
["ros_license_toolkit",
"test/_test_data/test_pkg_unknown_license"],
stdout=subprocess.PIPE,
stderr=subprocess.PIPE
Expand Down

0 comments on commit 3f472cb

Please sign in to comment.