annotate test/test_unify.py @ 54:35b94053aafb default tip

update to use ssh for upstream src
author Jeff Hammel <k0scist@gmail.com>
date Sun, 02 Jun 2024 14:27:38 -0700
parents 7364d06af5b9
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
48
8fbf968e8dea stub test case
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
1 # Requires `pytest`
8fbf968e8dea stub test case
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
2
49
7364d06af5b9 passing test
Jeff Hammel <k0scist@gmail.com>
parents: 48
diff changeset
3 import os
48
8fbf968e8dea stub test case
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
4 from silvermirror import unify
8fbf968e8dea stub test case
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
5
49
7364d06af5b9 passing test
Jeff Hammel <k0scist@gmail.com>
parents: 48
diff changeset
6 HERE = os.path.dirname(os.path.abspath(__file__))
7364d06af5b9 passing test
Jeff Hammel <k0scist@gmail.com>
parents: 48
diff changeset
7 CONF = os.path.join(HERE, 'silvermirror.ini')
7364d06af5b9 passing test
Jeff Hammel <k0scist@gmail.com>
parents: 48
diff changeset
8
7364d06af5b9 passing test
Jeff Hammel <k0scist@gmail.com>
parents: 48
diff changeset
9
48
8fbf968e8dea stub test case
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
10 def test_read_config():
49
7364d06af5b9 passing test
Jeff Hammel <k0scist@gmail.com>
parents: 48
diff changeset
11 unify.read_config(CONF)
7364d06af5b9 passing test
Jeff Hammel <k0scist@gmail.com>
parents: 48
diff changeset
12