Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
More roll back and clean up test
  • Loading branch information
sea-bass committed Jan 11, 2025
commit b0aee7c4aa744158a864e161cf6b6485ec3e38b7
4 changes: 3 additions & 1 deletion example_python/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@
license='BSD-3-Clause',
tests_require=['pytest'],
entry_points={
'console_scripts': ['test_node = examples.minimal_publisher:main'],
'generate_parameter_module_example': [
'test_node = examples.minimal_publisher:main'
],
},
)
12 changes: 12 additions & 0 deletions example_python/test/test_load_modules.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# -*- coding: utf-8 -*-
import generate_parameter_module_example

print(f'Imported module from: {generate_parameter_module_example.__file__}')

import generate_parameter_module_example.admittance_parameters # noqa: E402

print('Imported generated parameter module')

import generate_parameter_module_example.minimal_publisher # noqa: E402

print('Imported minimal publisher module')
9 changes: 0 additions & 9 deletions example_python/test/test_parameters.py

This file was deleted.

Loading