diff --git a/protoplaster/camera/test.py b/protoplaster/camera/test.py index a6ffad9..1125513 100644 --- a/protoplaster/camera/test.py +++ b/protoplaster/camera/test.py @@ -18,7 +18,7 @@ def test_frame(self): {% macro test_frame(device) -%} try to capture frame {%- if device['save_file'] is defined -%} - and store it to '{{ device['save_file'] }}' file + and store it to `{{ device['save_file'] }}` file {%- endif %} {%- endmacro %} """ @@ -32,7 +32,7 @@ def test_frame(self): def test_device_name(self): """ {% macro test_device_name(device) -%} - check if the camera sensor name is '{{ device['camera_name'] }}' + check if the camera sensor name is `{{ device['camera_name'] }}` {%- endmacro %} """ device = Camera(self.device) @@ -42,7 +42,7 @@ def test_device_name(self): def test_driver_name(self): """ {% macro test_driver_name(device) -%} - check if the camera sensor driver name is '{{ device['driver_name'] }}' + check if the camera sensor driver name is `{{ device['driver_name'] }}` {%- endmacro %} """ device = Camera(self.device) diff --git a/protoplaster/gpio/test.py b/protoplaster/gpio/test.py index cd59b1b..8ee1344 100644 --- a/protoplaster/gpio/test.py +++ b/protoplaster/gpio/test.py @@ -16,7 +16,7 @@ class TestGPIO: def test_read_write(self): """ {% macro test_read_write(device) -%} - write the value '{{ device['value'] }}' and read to confirm + write `{{ device['value'] }}` and read back to confirm {%- endmacro %} """ self.gpio_name = self.gpio_name if hasattr(self, "gpio_name") else None diff --git a/protoplaster/i2c/test.py b/protoplaster/i2c/test.py index 23b20de..c2ebae7 100644 --- a/protoplaster/i2c/test.py +++ b/protoplaster/i2c/test.py @@ -18,7 +18,7 @@ def test_addresses(self): {% macro test_addresses(device) -%} {%- for dev in device['devices'] -%} {%- set addr = dev['address'] -%} - detection test for {{ dev['name'] }} on address: 0x{{ "%0x" | format(addr|int) }} + detection test for `{{ dev['name'] }}` on address: `0x{{ "%0x" | format(addr|int) }}` {%- endfor %} {%- endmacro %} """