Set up ability to run commands from the terminal
This commit is contained in:
@@ -4,14 +4,10 @@ from tungston.generator.markdown.report import Report
|
||||
|
||||
# Fixtures #########################################################################################
|
||||
|
||||
@fixture(name="emptyReport")
|
||||
def createEmptyReport():
|
||||
return Report()
|
||||
|
||||
@fixture(name="report")
|
||||
def createReport():
|
||||
return (
|
||||
Report(None)
|
||||
Report("test", None)
|
||||
.text("alpha")
|
||||
.line("bravo")
|
||||
.indent()
|
||||
@@ -28,4 +24,4 @@ def test_repr(report):
|
||||
assert repr(report) == "Report{lines: 4 lines, lineBuffer: 1 chunks, indent: 1}"
|
||||
|
||||
def test_str(report):
|
||||
assert str(report) == "alphabravo\n charlie\n delta\n echo"
|
||||
assert str(report) == "alphabravo\n charlie\n delta\n echo"
|
||||
|
||||
Reference in New Issue
Block a user