Add unit tests with pytest

3 jobs for pytest in 3 minutes and 48 seconds (queued for 1 second)
Status Job ID Name Coverage
  Test
passed #3609
test:pycodestyle

00:01:05

passed #3610
test:pylint

00:01:36

failed #3611
test:pytest

00:01:05

 
Name Stage Failure
failed
test:pytest Test
    BRIAR_AUTH_TOKEN = join(Path.home(), _BRIAR_DIR, "auth_token")
/usr/lib/python3.5/posixpath.py:89: in join
genericpath._check_arg_types('join', a, *p)
/usr/lib/python3.5/genericpath.py:143: in _check_arg_types
(funcname, s.__class__.__name__)) from None
E TypeError: join() argument must be str or bytes, not 'PosixPath'
!!!!!!!!!!!!!!!!!!! Interrupted: 1 errors during collection !!!!!!!!!!!!!!!!!!!!
=========================== 1 error in 0.16 seconds ============================
ERROR: Job failed: exit code 1