features.steps.r_001_stepsΒΆ
Python steps file for R_001.
FunctionsΒΆ
|
Ensures that an device with the specified name and serial_number exists in the system. |
|
Fills in the device creation form. |
|
Verifies that the new device appears in the device list. |
|
Verifies that the new device appears in the device list. |
|
Deletes an device by name. |
|
Verifies that the device no longer appears in the list. |
|
Attempts to view details of a non-existent device. |
|
Verifies that the new device appears in the device list. |
Module ContentsΒΆ
- features.steps.r_001_steps.step_device_exists(context, name, serial_number)[source]ΒΆ
Ensures that an device with the specified name and serial_number exists in the system.
- Parameters:
context (runner.Context) β Behave context.
name (str) β The name of the device.
serial_number (str) β The Serial number of the device.
- Return type:
None
- features.steps.r_001_steps.step_fill_device_details(context, name, serial_number, domain_name)[source]ΒΆ
Fills in the device creation form.
- Parameters:
context (runner.Context) β Behave context.
name (str) β The name of the device.
serial_number (str) β The Serial number of the device.
domain_name (str)
- Return type:
None
- features.steps.r_001_steps.step_device_list(context)[source]ΒΆ
Verifies that the new device appears in the device list.
- Parameters:
context (runner.Context) β Behave context.
name (str) β The name of the device.
serial_number (str) β The Serial number of the device.
- Return type:
None
- features.steps.r_001_steps.step_device_list(context, name, serial_number, domain_name)[source]ΒΆ
Verifies that the new device appears in the device list.
- Parameters:
context (runner.Context) β Behave context.
name (str) β The name of the device.
serial_number (str) β The Serial number of the device.
- Return type:
None
- features.steps.r_001_steps.step_delete_device(context, name)[source]ΒΆ
Deletes an device by name.
- Parameters:
context (runner.Context) β Behave context.
name (str) β The name of the device to be deleted.
- Return type:
None
- features.steps.r_001_steps.step_verify_device_deletion(context, name)[source]ΒΆ
Verifies that the device no longer appears in the list.
- Parameters:
context (runner.Context) β Behave context.
name (str) β The name of the device.
- Return type:
None