FreeOpcUa / opcua-asyncio

OPC UA library for python >= 3.7
GNU Lesser General Public License v3.0
1.04k stars 346 forks source link

test: Migrate deactivated unit to pytest #1577

Closed AiyionPrime closed 4 months ago

AiyionPrime commented 4 months ago

There exists a unittest, which could attest that loading shelf files does currently not work. This migrates it from unittest to the new pytest format and alters the shelf_file invocation which was provided in __init__() before and is now done in init().

AiyionPrime commented 4 months ago

@oroulet if there's anything unclear, let me know. Otherwise I think this is good to go as well.

It verifies loading a shelf does currently not work either, as the old test did before, but allows it to actually execute; similar to the test in #1574 before.

AiyionPrime commented 4 months ago

@oroulet Would you mind reviewing this?