Skip to content

Commit

Permalink
More roll back and clean up test
Browse files Browse the repository at this point in the history
  • Loading branch information
sea-bass committed Jan 11, 2025
1 parent 0d6f149 commit 2eb5336
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
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'
],
},
)
9 changes: 6 additions & 3 deletions example_python/test/test_parameters.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
# -*- coding: utf-8 -*-
import generate_parameter_module_example

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

import generate_parameter_module_example.admittance_parameters # noqa: E402

print('OK 2')
print('Imported generated parameter module')

import generate_parameter_module_example.minimal_publisher # noqa: E402

print('Imported minimal publisher module')

0 comments on commit 2eb5336

Please sign in to comment.