<filename>tests/test_pager.py
from pager import *

def test_truncate():
    assert truncate(' ', ['AA','AB','AD'], 5) == 'AA AB'

<filename>tests/test_pager.py
from pager import *

def test_truncate():
    assert truncate(' ', ['AA','AB','AD'], 5) == 'AA AB'
