Skip to content
Snippets Groups Projects
Select Git revision
  • 839e1b4ce5da6d58441c0cf263bec16638a783c2
  • MCCS-163 default
  • main
  • sar-277-update-docs-with-examples-for-lrc
  • st-946-automate
  • sar_302-log-fix
  • sar-287_subarray_commands_to_lrc
  • sar_302-POC_await_sub_device_state
  • sat_302_fix_pipelines
  • sar-286_lrc_one_subarry_command
  • sar-286_lrc_improvements
  • sar-288-async-controller
  • sar-276-combine-tango-queue
  • sar-255_remove_nexus_reference
  • sar-275-add-LRC
  • sar-273-add-lrc-attributes
  • sar-272
  • sp-1106-marvin-1230525148-ska-tango-base
  • sp-1106-marvin-813091765-ska-tango-base
  • sar-255/Publish-package-to-CAR
  • mccs-661-device-under-test-fixture
  • mccs-659-pep257-docstring-linting
  • 0.11.3
  • 0.11.2
  • 0.11.1
  • 0.11.0
  • 0.10.1
  • 0.10.0
  • 0.9.1
  • 0.9.0
  • 0.8.1
  • 0.8.0
  • 0.7.2
  • 0.7.1
  • 0.7.0
  • 0.6.6
  • 0.6.5
  • 0.6.4
  • 0.6.3
  • 0.6.2
  • 0.6.1
  • 0.6.0
42 results

reference_component_manager.rst

Blame
  • Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    tImportDP3.py 825 B
    # Copyright (C) 2022 ASTRON (Netherlands Institute for Radio Astronomy)
    # SPDX-License-Identifier: GPL-3.0-or-later
    
    import pytest
    
    # Append current directory to system path in order to import testconfig
    import sys
    
    sys.path.append(".")
    
    import testconfig as tcf
    
    sys.path.append(f"{tcf.BINDIR}/pythondp3")
    
    """
    Script can be invoked in two ways:
    - as standalone from the build/pythondp3/test/integration directory,
      using `pytest source/tImportDP3.py` (extended with pytest options of your choice)
    - using ctest, see DP3/pythondp3/test/integration/CMakeLists.txt
    """
    
    
    def test_import_dp3():
        """
        Test import of dp3 module
        One reason this might fail is when the linkage of this module, a shared library,
        is incomplete. In that case, the run-time linker will report unresolved symbols.
        """
        import dp3