Add unit testing capabilities and basic tests for check_for_usbdevice
authorManuel Rom <manuel.rom@student.tugraz.at>
Fri, 11 Sep 2020 11:52:18 +0000 (13:52 +0200)
committerMichael Prokop <mika@grml.org>
Fri, 2 Oct 2020 13:23:20 +0000 (15:23 +0200)
* Add a test directory and create file
  'test/grml2usb_test.py'
* Provide basic test for extract_device_name()
* Extract regex match into separate function for
  better readability and testing options
* Provide pytest.ini configuration to be able to use
  custom markers
* Add symlink in test directory pointing to grml2usb
  for usage with importlib


No differences found