def test_update_batch_missing_sku(): state = InventoryStateMachine() state.delete_missing_user(user_id='00') state.delete_missing_user(user_id=';') v1 = state.new_user(user={'id': '1', 'name': '', 'password': '******'}) state.delete_missing_sku(sku_id='SKU066304') state.delete_missing_sku(sku_id='SKU000256') v2 = state.new_anonymous_batch(batch=Batch(associated_codes=[], id='BAT000000', name='', owned_codes=[], props={'a': [None]}, sku_id=None)) state.attempt_update_anonymous_batch_missing_sku_id(batch_id=v2, patch={}, sku_id='SKU000000') state.teardown()
def test_delete_missing_user(): state = InventoryStateMachine() state.delete_missing_user(user_id='0') state.teardown()