Skip to content

Commit

Permalink
Reduce number of errors + Add skipped test that will need to pass
Browse files Browse the repository at this point in the history
  • Loading branch information
jecisc committed Dec 5, 2024
1 parent 67200d8 commit fccf154
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1710,6 +1710,15 @@ FamixPythonProject1Test >> testModulesWithTheSameNameAreDifferent [
self deny: rootModule identicalTo: moduleInPackage
]

{ #category : 'tests' }
FamixPythonProject1Test >> testNoNilSourceOrTargetForAssociations [

self skip. "To fix"
(self model allUsing: FamixTAssociation) do: [ :association |
self assert: association source isNotNil.
self assert: association target isNotNil ]
]

{ #category : 'tests - from-import' }
FamixPythonProject1Test >> testPackageImportsClassFromAModule [

Expand Down
7 changes: 7 additions & 0 deletions src/Famix-Python-Importer/FamixPythonFunction.extension.st
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
Extension { #name : 'FamixPythonFunction' }

{ #category : '*Famix-Python-Importer' }
FamixPythonFunction >> createAccessOrReferenceFrom: anEntity node: aNode [

self flag: #todo.
^ nil
]

{ #category : '*Famix-Python-Importer' }
FamixPythonFunction >> createLocalVariable: aString [

Expand Down

0 comments on commit fccf154

Please sign in to comment.