-
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.
- Loading branch information
1 parent
41a427b
commit 8d30f0c
Showing
4 changed files
with
11 additions
and
16 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 |
---|---|---|
@@ -1,5 +1,3 @@ | ||
from bbconf._version import __version__ | ||
from bbconf.bbconf import * | ||
from bbconf.const import * | ||
from bbconf.bbconf import BedBaseConf, get_bedbase_cfg | ||
|
||
__all__ = ["BedBaseConf", "get_bedbase_cfg"] |
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
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 |
---|---|---|
|
@@ -9,7 +9,7 @@ | |
import warnings | ||
|
||
from bbconf import BedBaseConf, get_bedbase_cfg | ||
from bbconf.exceptions import * | ||
from bbconf.exceptions import MissingConfigDataError | ||
|
||
|
||
DB_URL = "postgresql+psycopg2://postgres:[email protected]:5432/pipestat-test" | ||
|
@@ -21,7 +21,7 @@ def db_setup(): | |
# Check if the database is setup | ||
try: | ||
BedBaseConf(os.path.join(DATA_PATH, "config.yaml")) | ||
except Exception as err: | ||
except Exception: | ||
warnings.warn(UserWarning(f"{pytest_db_skip_reason}")) | ||
return False | ||
return True | ||
|