mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-15 10:07:06 +08:00
Test that full_name works with get_definitions
This commit is contained in:
@@ -438,6 +438,8 @@ class TestGetDefinitions(TestBase):
|
|||||||
subdefinitions = definitions[0].get_definitions()
|
subdefinitions = definitions[0].get_definitions()
|
||||||
assert subdefinitions[0].names == ['f']
|
assert subdefinitions[0].names == ['f']
|
||||||
assert subdefinitions[1].names == ['g']
|
assert subdefinitions[1].names == ['g']
|
||||||
|
assert subdefinitions[0].full_name == 'Class.f'
|
||||||
|
assert subdefinitions[1].full_name == 'Class.g'
|
||||||
|
|
||||||
|
|
||||||
class TestSpeed(TestBase):
|
class TestSpeed(TestBase):
|
||||||
|
|||||||
Reference in New Issue
Block a user