feat: run API tests in CI (#1421)
* feat: run API tests in CI * fix: remove incorrect test for guest user viewing themself
This commit is contained in:
parent
7384dd7a2f
commit
6ca1ca2aec
5 changed files with 62 additions and 5 deletions
|
@ -1,5 +1,6 @@
|
|||
import configparser
|
||||
import os
|
||||
import sys
|
||||
|
||||
from .utils import get_random_string, read_config_file
|
||||
|
||||
|
@ -11,7 +12,9 @@ API_VERSION = "2.0.0"
|
|||
|
||||
try:
|
||||
CONFIG = read_config_file(DEFAULT_CONFIG_PATH)
|
||||
except IOError:
|
||||
except IOError as e:
|
||||
print(f"Unable to read config file {DEFAULT_CONFIG_PATH}", file=sys.stderr)
|
||||
print(e, file=sys.stderr)
|
||||
CONFIG = configparser.ConfigParser()
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue