'Test completing by doing some samples.'

def test_complete(self, klass):

    completions = [e[0] for e in klass().complete()]
    assert ('always' in completions)
    assert ('never' in completions)
    assert ('multiple-tabs,downloads' in completions)
    for val in completions:
        assert ('always,' not in val)
        assert (',always' not in val)
        assert ('never,' not in val)
        assert (',never' not in val)
