From 40d7469321b3e07f57644ea3adeff09cb3e3608b Mon Sep 17 00:00:00 2001 From: Luke Else Date: Mon, 15 Jan 2024 18:34:06 +0000 Subject: [PATCH] Skip test as we expect it to fail --- tests/database/test_products.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/database/test_products.py b/tests/database/test_products.py index b0d0ad6..f7c37ca 100644 --- a/tests/database/test_products.py +++ b/tests/database/test_products.py @@ -21,7 +21,7 @@ def test_create_product(): db.create(product) # Tests the database maintains integrity when we try and add a product with the same details -@pytest.skip("Expect test to fail") +@pytest.mark.skip def test_duplicate_product(): db = ProductController() with pytest.raises(sqlite3.IntegrityError):