Remove skipped tests

This commit is contained in:
Patrick Smith
2019-02-20 18:17:16 -05:00
parent e8348066aa
commit 3ea9562284
5 changed files with 2 additions and 41 deletions

View File

@@ -57,10 +57,6 @@ def helpdocs(doc=None):
@bp.route("/home")
def home():
user = g.current_user
if user.atat_role_name == "ccpo":
return redirect(url_for("requests.requests_index"))
num_portfolios = len([role for role in user.portfolio_roles if role.is_active])
if num_portfolios == 0:

View File

@@ -5,24 +5,6 @@ def first_or_none(predicate, lst):
return next((x for x in lst if predicate(x)), None)
def deep_merge(source, destination: dict):
"""
Merge source dict into destination dict recursively.
"""
def _deep_merge(a, b):
for key, value in a.items():
if isinstance(value, dict):
node = b.setdefault(key, {})
_deep_merge(value, node)
else:
b[key] = value
return b
return _deep_merge(source, dict(destination))
def getattr_path(obj, path, default=None):
_obj = obj
for item in path.split("."):