summaryrefslogtreecommitdiffstats
path: root/python/tests/api_client.py
blob: 9d2ec302e20f91843cd1823cd5dfbc51f8d69523 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15

import pytest
import fatcat.api_client
from fixtures import *


# TODO:
#def test_client_health(api_client):
#    assert api_client.health() != None


def test_import_crossref(api_client):
    api_client.import_crossref_file('tests/files/crossref-works.2018-01-21.badsample.json')

    # TODO: use API to check that entities actually created...