Skip to content
Snippets Groups Projects
Commit e1af807e authored by Marco Clemencic's avatar Marco Clemencic
Browse files

Migrate remaining nosetests

See merge request !1519
parents 70db3fab f3edd743
No related branches found
No related tags found
1 merge request!1519Migrate remaining nosetests
Pipeline #6475663 passed
#####################################################################################
# (c) Copyright 1998-2021 CERN for the benefit of the LHCb and ATLAS collaborations #
# (c) Copyright 1998-2023 CERN for the benefit of the LHCb and ATLAS collaborations #
# #
# This software is distributed under the terms of the Apache version 2 licence, #
# copied verbatim in the file "LICENSE". #
......@@ -24,7 +24,7 @@ gaudi_generate_confuserdb(Gaudi.ConfUser)
gaudi_add_tests(QMTest)
# Python tests
gaudi_add_pytest(tests/nose)
gaudi_add_pytest(tests/pytest)
gaudi_add_pytest(python/Gaudi/Main.py
OPTIONS --doctest-modules
ROOT_DIR python
......
#!/usr/bin/env python3
#####################################################################################
# (c) Copyright 1998-2019 CERN for the benefit of the LHCb and ATLAS collaborations #
# (c) Copyright 1998-2023 CERN for the benefit of the LHCb and ATLAS collaborations #
# #
# This software is distributed under the terms of the Apache version 2 licence, #
# copied verbatim in the file "LICENSE". #
......@@ -52,9 +52,4 @@ def test_aliases():
if __name__ == "__main__":
import sys
import nose
sys.stderr = sys.stdout # redirect nose output to stdout
nose.main(defaultTest=sys.argv[0])
test_aliases()
#####################################################################################
# (c) Copyright 1998-2019 CERN for the benefit of the LHCb and ATLAS collaborations #
# (c) Copyright 1998-2023 CERN for the benefit of the LHCb and ATLAS collaborations #
# #
# This software is distributed under the terms of the Apache version 2 licence, #
# copied verbatim in the file "LICENSE". #
......@@ -21,6 +21,5 @@ if(BUILD_TESTING)
# https://its.cern.ch/jira/browse/GAUDI-976
gaudi_add_tests(QMTest ${CMAKE_CURRENT_SOURCE_DIR}/tests/GAUDI-976)
# nosetests
gaudi_add_tests(nosetests ${CMAKE_CURRENT_SOURCE_DIR}/python/GaudiTesting)
gaudi_add_tests(pytest ${CMAKE_CURRENT_SOURCE_DIR}/python/GaudiTesting)
endif()
#####################################################################################
# (c) Copyright 1998-2019 CERN for the benefit of the LHCb and ATLAS collaborations #
# (c) Copyright 1998-2023 CERN for the benefit of the LHCb and ATLAS collaborations #
# #
# This software is distributed under the terms of the Apache version 2 licence, #
# copied verbatim in the file "LICENSE". #
......@@ -64,4 +64,4 @@ gaudi_install(PYTHON)
# Enable QMTest tests
gaudi_add_tests(QMTest)
gaudi_add_pytest(tests/nose)
gaudi_add_pytest(tests/pytest)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment