test_clair.py 214 Bytes
Newer Older
David Trudgian's avatar
David Trudgian committed
1
2
3
4
import pytest

from clair_singularity.clair import check_clair, post_layer, get_report

David Trudgian's avatar
David Trudgian committed
5
API_URL = 'http://clair:6060/v1/'
David Trudgian's avatar
David Trudgian committed
6

David Trudgian's avatar
David Trudgian committed
7
def test_check_clair():
David Trudgian's avatar
David Trudgian committed
8
    # We can talk to the API
David Trudgian's avatar
David Trudgian committed
9
    assert check_clair(API_URL,False)