Skip to content

Commit 2eb5336

Browse files
committed
More roll back and clean up test
1 parent 0d6f149 commit 2eb5336

File tree

3 files changed

+9
-4
lines changed

3 files changed

+9
-4
lines changed

example_python/setup.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@
3232
license='BSD-3-Clause',
3333
tests_require=['pytest'],
3434
entry_points={
35-
'console_scripts': ['test_node = examples.minimal_publisher:main'],
35+
'generate_parameter_module_example': [
36+
'test_node = examples.minimal_publisher:main'
37+
],
3638
},
3739
)
Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
11
# -*- coding: utf-8 -*-
22
import generate_parameter_module_example
33

4-
print(f'Imported file from: {generate_parameter_module_example.__file__}')
5-
print('OK 1')
4+
print(f'Imported module from: {generate_parameter_module_example.__file__}')
65

76
import generate_parameter_module_example.admittance_parameters # noqa: E402
87

9-
print('OK 2')
8+
print('Imported generated parameter module')
9+
10+
import generate_parameter_module_example.minimal_publisher # noqa: E402
11+
12+
print('Imported minimal publisher module')

0 commit comments

Comments
 (0)