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'
def make_jm() -> Jupman: jm = Jupman() prep_jm(jm) return jm
def prep_jm(jm: Jupman): jm.build = '_build/test' jm.generated = '_build/test-generated'