Fix tests missing assert statement - add assert and fix them

This commit is contained in:
Andrej730
2025-05-15 10:40:46 +05:00
parent 292aca6685
commit b20997dea8
3 changed files with 4 additions and 3 deletions
+2 -2
View File
@@ -478,9 +478,9 @@ class TestGenerateSheetIdentification(NewFile):
def test_run(self):
ifc = ifcopenshell.file()
tool.Ifc.set(ifc)
subject.generate_sheet_identification() == "A01"
assert subject.generate_sheet_identification() == "A01"
document = ifc.createIfcDocumentInformation()
subject.generate_sheet_identification() == "A02"
assert subject.generate_sheet_identification() == "A02"
class TestGetTextLiteral(NewFile):