'Test commandline with a Qt argument and flag.'

def test_qt_both(self, parser):

    args = parser.parse_args(['--qt-arg', 'stylesheet', 'foobar', '--qt-flag', 'reverse'])
    qt_args = qtutils.get_args(args)
    assert (qt_args[0] == sys.argv[0])
    assert ('--reverse' in qt_args)
    assert ('--stylesheet' in qt_args)
    assert ('foobar' in qt_args)
