Skip to content

Commit

Permalink
linting
Browse files Browse the repository at this point in the history
  • Loading branch information
olliesilvester committed Oct 16, 2024
1 parent a665ca0 commit 1bd4583
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,8 @@

i03.DAQ_CONFIGURATION_PATH = "tests/test_data/test_daq_configuration"

TEST_GRAYLOG_PORT = 5555


def raw_params_from_file(filename):
with open(filename) as f:
Expand Down Expand Up @@ -134,7 +136,7 @@ def pytest_runtest_setup(item):
if LOGGER.handlers == []:
if dodal_logger.handlers == []:
print("Initialising Hyperion logger for tests")
do_default_logging_setup(dev_mode=True)
do_default_logging_setup("dev_log.py", TEST_GRAYLOG_PORT, dev_mode=True)
if ISPYB_LOGGER.handlers == []:
print("Initialising ISPyB logger for tests")
set_up_all_logging_handlers(
Expand Down

0 comments on commit 1bd4583

Please sign in to comment.