Exemplo n.º 1
0
    def test_parseContinuation(self):
        build_info = BuildInfo(self.buildinfo_file_path)
        build_info.line_no = 1
        val = build_info.parseContinuation(["no-space", " line1", " line2"])

        self.assertEquals("\nline1\nline2", val)
Exemplo n.º 2
0
    def test_parseContinuation_indexed(self):
        build_info = BuildInfo(self.buildinfo_file_path)
        build_info.line_no = 0

        self.assertEquals("",
                          build_info.parseContinuation(["no-space", " space"]))