Skip to content
Snippets Groups Projects
Commit fbb0ffa5 authored by Charlotte Hausman's avatar Charlotte Hausman
Browse files

fix email endpoint to stop throwing json errors when 'metadata' section not in args

parent 57de0a5a
No related branches found
No related tags found
1 merge request!1612fix email endpoint to stop throwing json errors when 'metadata' section not in args
Pipeline #14874 passed
......@@ -20,8 +20,8 @@ Tests that test the view functionality of our capability REST API.
The logic can be found in `capability/views/capability.py`.
"""
import http
import pytest
import pytest as pytest
from pyramid.config import Configurator
from pyramid.httpexceptions import (
HTTPBadRequest,
......@@ -31,8 +31,6 @@ from pyramid.httpexceptions import (
)
from pyramid.testing import DummyRequest
import pytest
def test_view_capability(test_config: Configurator, request_null_capability: DummyRequest):
"""
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment