Пример #1
0
def test_GIVEN_nothing_WHEN_getting_components_list_THEN_list_contains_sample_and_no_components(
):
    wrapper = NexusWrapper("component_list_with_sample")
    instrument = Instrument(wrapper, NX_CLASS_DEFINITIONS)
    assert len(instrument.get_component_list()) == 1
def test_GIVEN_nothing_WHEN_getting_components_list_THEN_list_contains_sample_and_no_components(
    nexus_wrapper, ):
    instrument = Instrument(nexus_wrapper, NX_CLASS_DEFINITIONS)
    assert len(instrument.get_component_list()) == 1