Skip to content
Snippets Groups Projects
Commit aebd8e62 authored by Janet Goldstein's avatar Janet Goldstein
Browse files

Merge pull request #18 in SSA/data from SSA-6324-pytest-branch3-modules-and-scodeup to main

* commit '798426a8':
  SSA-6324: fixes locking message problem discovered in SSA-6458
  SSA-6324: refactored prop setter for testability and created tests; added script to run all tests in data repo
  Remove unittest from datafetcher and migrate to pytest
  Remove unittest from test_updater.py, rely on pytest instead
  Tests work, remove src imports
parents 99fbb9e9 798426a8
No related branches found
No related tags found
No related merge requests found
Showing
with 95 additions and 152 deletions
This diff is collapsed.
......@@ -9,13 +9,9 @@ from pathlib import Path
from pycapo import CapoConfig
from ..src.datafetcher.errors import \
MissingSettingsException, NoProfileException
from ..src.datafetcher.locations_report import \
LocationsReport
from ..src.datafetcher.utilities import \
REQUIRED_SETTINGS, get_arg_parser, \
ExecutionSite
from datafetcher.errors import MissingSettingsException, NoProfileException
from datafetcher.locations_report import LocationsReport
from datafetcher.utilities import REQUIRED_SETTINGS, get_arg_parser, ExecutionSite
TEST_PROFILE = 'local'
......@@ -155,8 +151,6 @@ def get_test_capo_settings():
if result is None or len(result) == 0:
raise MissingSettingsException('Required Capo settings were not found')
for setting in result:
print(f'{setting} = {result[setting]}')
# be sure execution site is not DSOC nor NAASC
exec_site = result['execution_site']
if ExecutionSite.DSOC.value in exec_site or ExecutionSite.NAASC.value in \
......
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