Mercurial > lcfOS
diff ide/runtests.py @ 15:de004f808e56
Fixup in multidocument area stuff
author | windel |
---|---|
date | Tue, 15 Nov 2011 07:35:00 +0100 |
parents | edd70006d3e4 |
children |
line wrap: on
line diff
--- a/ide/runtests.py Sun Nov 13 23:24:10 2011 +0100 +++ b/ide/runtests.py Tue Nov 15 07:35:00 2011 +0100 @@ -254,14 +254,13 @@ # This also works: 4D0FAFFE (another variant?? ) assert(assembler.imulreg64('r15', 'r14') == [0x4d, 0x0f, 0xaf, 0xfe]) def testProject(self): - p = Project() + p = Project('test.xml', isnew=True) p.name = "Test project" p.files.append('main.mod') p.files.append('test.mod') p.save('test.xml') - q = Project() - q.load('test.xml') + q = Project('test.xml') assert(p.name == q.name) assert(p.files == q.files)