File tree Expand file tree Collapse file tree 5 files changed +10
-5
lines changed
Expand file tree Collapse file tree 5 files changed +10
-5
lines changed Original file line number Diff line number Diff line change @@ -140,7 +140,8 @@ def test_Files(self):
140140
141141
142142class Validate (TestCase ):
143- def test_Design (self ):
143+ @staticmethod
144+ def test_Design ():
144145 project = Project ("project" , rootDirectory = Path ("tests/project" ))
145146 design = Design ("design" , directory = Path ("designA" ), project = project )
146147
Original file line number Diff line number Diff line change @@ -145,7 +145,8 @@ def test_ResolveDirectory(self):
145145
146146
147147class Validate (TestCase ):
148- def test_File (self ):
148+ @staticmethod
149+ def test_File ():
149150 project = Project ("project" , rootDirectory = Path ("tests/project" ))
150151 design = Design ("design" , directory = Path ("designA" ), project = project )
151152 fileSet = FileSet ("fileset" , design = design )
Original file line number Diff line number Diff line change @@ -232,7 +232,8 @@ def test_SourceFile(self):
232232
233233
234234class Validate (TestCase ):
235- def test_FileSet (self ):
235+ @staticmethod
236+ def test_FileSet ():
236237 project = Project ("project" , rootDirectory = Path ("tests/project" ))
237238 design = Design ("design" , directory = Path ("designA" ), project = project )
238239 fileSet = FileSet ("fileset" , design = design )
Original file line number Diff line number Diff line change @@ -96,7 +96,8 @@ def test_GetVersionFromFileSet(self):
9696
9797 self .assertEqual (vhdlVersion , file .VHDLVersion )
9898
99- def test_Validate (self ):
99+ @staticmethod
100+ def test_Validate ():
100101 project = Project ("project" , rootDirectory = Path ("tests/project" ), vhdlVersion = VHDLVersion .VHDL2019 )
101102 design = Design ("design" , directory = Path ("designA" ), project = project )
102103 vhdlLibrary = VHDLLibrary ("library" , design = design )
Original file line number Diff line number Diff line change @@ -109,7 +109,8 @@ def test_ResolveDirectory(self):
109109
110110
111111class Validate (TestCase ):
112- def test_Project (self ):
112+ @staticmethod
113+ def test_Project ():
113114 project = Project ("project" , rootDirectory = Path ("tests/project" ))
114115
115116 project .Validate ()
You can’t perform that action at this time.
0 commit comments