-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Tests (including flake8) are importing parsl, which isn't in base LSST env, so temporarily disabling them.
- Loading branch information
Showing
4 changed files
with
13 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Disable tests until parsl can be installed in the LSST base env. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,15 @@ | ||
from lsst.ctrl.bps import BpsConfig | ||
from lsst.ctrl.bps.parsl.configuration import get_bps_config_value | ||
import pytest | ||
from lsst.daf.butler import Config | ||
|
||
|
||
@pytest.mark.skip(reason="parsl not in LSST environment") | ||
def test_config(): | ||
"""Super-basic test of configuration reading | ||
This is intended as a test of testing more than anything else. | ||
""" | ||
from lsst.ctrl.bps import BpsConfig | ||
from lsst.ctrl.bps.parsl.configuration import get_bps_config_value | ||
|
||
config = BpsConfig(Config.fromString("foo: bar")) # BpsConfig doesn't work directly with fromString | ||
assert get_bps_config_value(config, "foo", str) == "bar" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,6 @@ | ||
import pytest | ||
|
||
|
||
@pytest.mark.skip(reason="parsl not in LSST environment") | ||
def test_import(): | ||
import lsst.ctrl.bps.parsl # noqa |