qutebrowser/tests/unit/completion
Ryan Roden-Corrent 90c49b3fe7 Move bind completion to configmodels.
When in miscmodels, the config module was unable to find the function.
It appears to be some sort of circular import issue:

```
  File "/home/rcorre/projects/contrib/qutebrowser/qutebrowser/app.py", line 44, in <module>
    from qutebrowser.completion.models import miscmodels
  File "/home/rcorre/projects/contrib/qutebrowser/qutebrowser/completion/models/miscmodels.py", line 24, in <module>
    from qutebrowser.completion.models import completionmodel, listcategory, util
  File "/home/rcorre/projects/contrib/qutebrowser/qutebrowser/completion/models/util.py", line 24, in <module>
    from qutebrowser.config import config
  File "/home/rcorre/projects/contrib/qutebrowser/qutebrowser/config/config.py", line 223, in <module>
    class ConfigCommands:
  File "/home/rcorre/projects/contrib/qutebrowser/qutebrowser/config/config.py", line 314, in ConfigCommands
    @cmdutils.argument('command', completion=miscmodels.bind)
AttributeError: module 'qutebrowser.completion.models.miscmodels' has no attribute 'bind'
```

As configmodel imports util (and thereby config as well) it is unclear
to me why moving bind() to configmodel actually fixes this, but it does.
2017-08-20 21:12:38 -04:00
..
test_completer.py Fix completion tests after config merge. 2017-08-20 21:12:38 -04:00
test_completionmodel.py Fix completion-item-del on undeletable item. 2017-07-22 17:16:35 -04:00
test_completionwidget.py Merge remote-tracking branch 'upstream/master' into HEAD 2017-08-06 18:13:49 -04:00
test_histcategory.py Fix completion tests after config merge. 2017-08-20 21:12:38 -04:00
test_listcategory.py Fix unused imports and removeRow override. 2017-07-23 17:30:09 -04:00
test_models.py Move bind completion to configmodels. 2017-08-20 21:12:38 -04:00