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 b0aee7c
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 10 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'
],
},
)
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.

0 comments on commit b0aee7c

Please sign in to comment.