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:
Kyle Robbertze 2021-10-18 12:17:34 +00:00 committed by GitHub
parent 7384dd7a2f
commit 6ca1ca2aec
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 62 additions and 5 deletions

View file

@ -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()