mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2026-09-12 19:50:57 +05:00
15 lines
348 B
Python
15 lines
348 B
Python
import pytest
|
|
|
|
from archivebox.machine.models import Machine
|
|
|
|
|
|
pytestmark = pytest.mark.django_db(transaction=True)
|
|
|
|
|
|
def test_basic_success_case_request(client, tmp_path, api_headers):
|
|
Machine.current(refresh=True)
|
|
|
|
response = client.get("/api/v1/machine/machines", **api_headers)
|
|
|
|
assert response.status_code == 200, response.content
|