Skip to content

Commit

Permalink
fixed test case name and import order
Browse files Browse the repository at this point in the history
  • Loading branch information
WayneDroid committed Feb 5, 2024
1 parent 00a51b4 commit 573be90
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions tests/component/system/test_device_properties.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import pytest

from datetime import datetime
from nidaqmx import DaqError
from nidaqmx.constants import BusType, TriggerUsage
from nidaqmx.error_codes import DAQmxErrors
from nidaqmx.system import Device

import pytest


def test___constructed_device___get_property___returns_value(init_kwargs):
device = Device("bridgeTester", **init_kwargs)
Expand Down Expand Up @@ -159,11 +159,7 @@ def test___cal_recommended_acc_connection_count_limit___raises_attr_not_supporte
assert exc_info.value.error_code == DAQmxErrors.ATTR_NOT_SUPPORTED


@pytest.fixture()
def get_cal_user_defined_info(real_x_series_device: Device):
user_defined_info = real_x_series_device.cal_user_defined_info

def test___set_cal_user_defined_info___no_errors(real_x_series_device: Device) -> None:
def test___cal_user_defined_info___no_errors(real_x_series_device: Device) -> None:
user_defined_info = real_x_series_device.cal_user_defined_info
info_max_size = real_x_series_device.cal_user_defined_info_max_size

Expand Down

0 comments on commit 573be90

Please sign in to comment.