@@ -63,6 +63,7 @@ def messagebus():
6363 return bus
6464
6565
66+ @pytest .mark .smoke
6667def test_add_batch_for_new_product (messagebus ):
6768 message = commands .CreateBatch (
6869 reference = "batch1" , sku = "COMPLICATED-LAMP" , qty = 100
@@ -76,6 +77,7 @@ def test_add_batch_for_new_product(messagebus):
7677 assert messagebus .uow .committed
7778
7879
80+ @pytest .mark .smoke
7981def test_add_batch_for_existing_product (messagebus ):
8082 history = [
8183 commands .CreateBatch (
@@ -96,6 +98,7 @@ def test_add_batch_for_existing_product(messagebus):
9698 assert messagebus .uow .committed
9799
98100
101+ @pytest .mark .smoke
99102def test_allocate_returns_allocation (messagebus ):
100103 message = commands .CreateBatch (
101104 reference = "batch1" , sku = "COMPLICATED-LAMP" , qty = 100
@@ -124,6 +127,7 @@ def test_allocate_errors_for_invalid_sku(messagebus):
124127 messagebus .handle (message )
125128
126129
130+ @pytest .mark .smoke
127131def test_deallocate (messagebus ):
128132 message = commands .CreateBatch (
129133 reference = "batch1" , sku = "COMPLICATED-LAMP" , qty = 100
@@ -149,6 +153,7 @@ def test_deallocate(messagebus):
149153 assert messagebus .uow .committed
150154
151155
156+ @pytest .mark .smoke
152157def test_changes_available_quantity (messagebus ):
153158 message = commands .CreateBatch (
154159 reference = "batch1" , sku = "ADORABLE-SETTEE" , qty = 100
0 commit comments