Пример #1
0
def test_curation_submission():
    raise SkipTest("Curation currently not working.")
    dbr.submit_curation(32760831642168299,
                        'TEST',
                        'This is a test.',
                        'tester',
                        is_test=True)
Пример #2
0
def test_curation_submission():
    from indra.config import get_config
    api_key = get_config('INDRA_DB_REST_API_KEY', failure_ok=True)
    if not api_key:
        raise SkipTest("No API Key, this test will not work.")
    res = dbr.submit_curation(32760831642168299, 'TEST', 'This is a test.',
                              'tester', is_test=True)
    assert res['result'] == 'test passed', res
Пример #3
0
def test_curation_submission():
    dbr.submit_curation(-36028793042562873,
                        'TEST',
                        'This is a test.',
                        'tester',
                        is_test=True)
Пример #4
0
def test_curation_submission():
    dbr.submit_curation(-36028793042562873, 'TEST', 'This is a test.',
                        'tester', is_test=True)