buildman: Correct the testOutputDir() unit test
This current fails with an error. Fix it.
Signed-off-by: Simon Glass <sjg@chromium.org>
Fixes: 7664b03ffc
("buildman: Remove _of_#_ from results directory paths")
This commit is contained in:
parent
5a910b92bc
commit
3918dfaa91
@ -541,8 +541,7 @@ class TestBuild(unittest.TestCase):
|
||||
build.commits = self.commits
|
||||
build.commit_count = len(self.commits)
|
||||
subject = self.commits[1].subject.translate(builder.trans_valid_chars)
|
||||
dirname ='/%02d_g%s_%s' % (2, build.commit_count, commits[1][0],
|
||||
subject[:20])
|
||||
dirname ='/%02d_g%s_%s' % (2, commits[1][0], subject[:20])
|
||||
self.CheckDirs(build, dirname)
|
||||
|
||||
def testOutputDirCurrent(self):
|
||||
|
Loading…
Reference in New Issue
Block a user