edelight/kitchen — pull request #111 by kopf (2014-01-07 16:39:42+00:00)
Title: Fixes #110: Fix virt view's virt filter

Here's the fix for #110.

Writing a test for it isn't as trivial. At the moment, the frontend tests use the approach:

````python
self.assertFalse('
host

````

and

````

host

````

The best way to do this would be to properly parse the HTML response, and check the class of the appropriate `` tag's direct parent. I had a go at this with lxml, but it chokes on the response, and I remember you guys not being such fans of BeautifulSoup, so I'll leave this with you ;)