about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMunyoki Kilyungi <me@bonfacemunyoki.com>2026-02-09 10:45:38 +0300
committerBonfaceKilz <me@bonfacemunyoki.com>2026-02-09 10:56:03 +0300
commit4d5c26e8a547690d3633c4daa5012a20554e923a (patch)
tree2228b30b434c5b6a74316ec5760a7556481d0299
parentf9341ecb2c89bb4491b3c02a7f8efb58e9d1e3f0 (diff)
downloadgenenetwork3-4d5c26e8a547690d3633c4daa5012a20554e923a.tar.gz
Delete un-used tests.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
-rw-r--r--tests/integration/test_lmdb_sample_data.py31
1 files changed, 0 insertions, 31 deletions
diff --git a/tests/integration/test_lmdb_sample_data.py b/tests/integration/test_lmdb_sample_data.py
deleted file mode 100644
index 30a23f4..0000000
--- a/tests/integration/test_lmdb_sample_data.py
+++ /dev/null
@@ -1,31 +0,0 @@
-"""Tests for the LMDB sample data API endpoint"""
-import pytest
-
-
-@pytest.mark.unit_test
-def test_nonexistent_data(client):
-    """Test endpoint returns 404 when data doesn't exist"""
-    response = client.get("/api/lmdb/sample-data/nonexistent/123")
-    assert response.status_code == 404
-    assert response.json["error"] == "No data found for given dataset and trait"
-
-
-@pytest.mark.unit_test
-def test_successful_retrieval(client):
-    """Test successful data retrieval using test LMDB data"""
-    # Use known test data hash: 7308efbd84b33ad3d69d14b5b1f19ccc
-    response = client.get("/api/lmdb/sample-data/BXDPublish/10007")
-    assert response.status_code == 200
-
-    data = response.json
-    assert len(data) == 31
-    # Verify some known values from the test database
-    assert data["BXD1"] == 18.700001
-    assert data["BXD11"] == 18.9
-
-
-@pytest.mark.unit_test
-def test_invalid_trait_id(client):
-    """Test endpoint handles invalid trait IDs appropriately"""
-    response = client.get("/api/lmdb/sample-data/BXDPublish/999999")
-    assert response.status_code == 404