qutebrowser/tests/unit
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
..
browser Merge remote-tracking branch 'upstream/master' into HEAD 2017-08-06 18:13:49 -04:00
commands Fix pylint 2017-07-04 15:34:10 +02:00
completion Move bind completion to configmodels. 2017-08-20 21:12:38 -04:00
config Merge remote-tracking branch 'upstream/master' into HEAD 2017-08-06 18:13:49 -04:00
javascript Finally update copyrights... 2017-05-09 21:37:03 +02:00
keyinput Fix pylint 2017-07-04 15:34:10 +02:00
mainwindow Merge remote-tracking branch 'upstream/master' into HEAD 2017-08-06 18:13:49 -04:00
misc Merge remote-tracking branch 'upstream/master' into HEAD 2017-08-06 18:13:49 -04:00
scripts Finally update copyrights... 2017-05-09 21:37:03 +02:00
utils Merge remote-tracking branch 'upstream/master' into HEAD 2017-08-06 18:13:49 -04:00
test_app.py Finally update copyrights... 2017-05-09 21:37:03 +02:00