Commits

Henning Schröder  committed 849aca8

test code for assist module

  • Participants
  • Parent commits 46ec19b

Comments (0)

Files changed (1)

File testassist.py

+import rope.base.project
+from rope.contrib.codeassist import code_assist
+
+example = """
+class foo(object):
+  abc = 1
+
+
+foo."""
+prj = rope.base.project.Project(".")
+src = example
+offset = len(src)
+def test():
+    for i in range(1000):
+        code_assist(prj, src, offset, resource=None, maxfixes=3)
+
+    
+test()