@@ -0,0 +1,333 @@
+import ast%0Afrom parsing.parser import FileVisitor%0A%0A%0Adef test_import_visitor():%0A    function_string = '''import ast'''%0A    parsed_function = ast.parse(function_string, filename='parsed_function.py')%0A    visitor = FileVisitor()%0A    visitor.visit(parsed_function)%0A    assert 'ast' in visitor.modules%0A    assert 'ast' in visitor.aliases%0A

Add import visitor test