Commit 1287cc08 authored by Markus Scheidgen's avatar Markus Scheidgen
Browse files

Added test mapping.

parent 9824ecf5
......@@ -12,11 +12,11 @@
# See the License for the specific language governing permissions and
# limitations under the License.
import json
import pytest
from datetime import datetime
from nomad.datamodel import EntryMetadata
from import Mapping
from tests.conftest import clear_elastic
from import BlueprintClient
......@@ -43,10 +43,17 @@ def example_entry(elastic_infra, test_user, other_test_user):
yield entry
def test_mapping(example_entry):
mapping = Mapping()
assert mapping.g is not None
# print(mapping.g.serialize(format='xml').decode('utf-8'))
def test_get_dataset(api, example_entry):
calc_id = 'test-id'
rv = api.get('/datasets/%s' % calc_id)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment