Fixing unit test issues
This commit is contained in:
1 parent
082ad16963
commit
3237824e83
3 files changed
+8
No files matched your search
@@ -1,4 +1,5 @@
|
||||
import io
|
||||
import pytest
|
||||
|
||||
from openpyxl import Workbook
|
||||
|
||||
@@ -200,6 +201,9 @@ async def test_import_upserts_on_product_number(db_sessionmaker):
|
||||
assert len(aps) == 2
|
||||
|
||||
|
||||
@pytest.mark.skip(
|
||||
"Product numbers are now autovivified from model and other attributes"
|
||||
)
|
||||
async def test_row_without_product_number_is_skipped(db_sessionmaker):
|
||||
async with db_sessionmaker() as db:
|
||||
data = _workbook([_scope_row(product_number=None)])
|
||||
|
||||
Reference in new issue
Block a user