Exemple #1
0
def test_jupman_constructor():
    jm = Jupman()
    # only testing the vital attrs
    assert jm.filename == 'jupman'
    #NOTE: putting '/' at the end causes exclude_patterns to not work !
    assert jm.build == '_build'
    assert jm.generated == '_static/generated'
Exemple #2
0
def make_jm() -> Jupman:
    jm = Jupman()
    prep_jm(jm)
    return jm
Exemple #3
0
def prep_jm(jm: Jupman):
    jm.build = '_build/test'
    jm.generated = '_build/test-generated'