def __init__(self): QtCore.QObject.__init__(self) Core.__init__(self) self._input_parent = None return
def test_is_valid_variable(): core = Core() test_var = "device.selected_name" result = core.is_valid_variable(test_var) assert result
def test_ProjectMenu_new_project(): project_title = "Test" new_core = Core() new_project = new_core.new_project(project_title) assert new_project.title == project_title
def core(): '''Share a Core object''' new_core = Core() socket = new_core.control._sequencer.get_socket("ModuleInterface") socket.add_interface(MockModule) return new_core
def test_DateTimeDict_available(): new_core = Core() all_objs = new_core.control._store._structures assert "DateTimeDict" in all_objs.keys()
def test_Strata_available(): new_core = Core() all_objs = new_core.control._store._structures assert "Strata" in all_objs.keys()
def core(): '''Share a Core object''' new_core = Core() return new_core
def test_Numpy3D_available(): new_core = Core() all_objs = new_core.control._store._structures assert "Numpy3D" in all_objs.keys()
def test_HistogramColumn_available(): new_core = Core() all_objs = new_core.control._store._structures assert "HistogramColumn" in all_objs.keys()
def test_LineTable_available(): new_core = Core() all_objs = new_core.control._store._structures assert "LineTable" in all_objs.keys()
def test_PointList_available(): new_core = Core() all_objs = new_core.control._store._structures assert "PointList" in all_objs.keys()
def test_XGrid2D_available(): new_core = Core() all_objs = new_core.control._store._structures assert "XGrid2D" in all_objs.keys()
def test_TableDataColumn_available(): new_core = Core() all_objs = new_core.control._store._structures assert "TableDataColumn" in all_objs.keys()
def test_PolygonListColumn_available(): new_core = Core() all_objs = new_core.control._store._structures assert "PolygonListColumn" in all_objs.keys()
def test_CartesianListDict_available(): new_core = Core() all_objs = new_core.control._store._structures assert "CartesianListDict" in all_objs.keys()
def test_TimeSeries_available(): new_core = Core() all_objs = new_core.control._store._structures assert "TimeSeries" in all_objs.keys()
def test_init_core(): new_core = Core() assert isinstance(new_core, Core)
def test_SimplePie_available(): new_core = Core() all_objs = new_core.control._store._structures assert "SimplePie" in all_objs.keys()
def test_NumpyLineDictArrayColumn_available(): new_core = Core() all_objs = new_core.control._store._structures assert "NumpyLineDictArrayColumn" in all_objs.keys()