def test_commented_mandatory_is_error(self): cell = CellInfo(CellContent(ContentType.COMMENTED, '', ''), CellPosition(CellType.MANDATORY, None)) assert_true(cell.has_error()) assert_true(cell.argument_missing())
def test_commented_mandatory_is_error(self): cell = CellInfo(CellContent(ContentType.COMMENTED, '', ''), CellPosition(CellType.MANDATORY, None)) assert_true(cell.has_error()) assert_true(cell.argument_missing())
def test_none_empty_mandatory_is_not_error(self): cell = CellInfo(CellContent(ContentType.LIBRARY_KEYWORD, '', ''), CellPosition(CellType.MANDATORY, None)) assert_false(cell.has_error()) assert_false(cell.argument_missing())
def test_none_empty_mandatory_is_not_error(self): cell = CellInfo(CellContent(ContentType.LIBRARY_KEYWORD, '', ''), CellPosition(CellType.MANDATORY, None)) assert_false(cell.has_error()) assert_false(cell.argument_missing())