Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Added required variables available test
  • Loading branch information
MarkHedleyJones committed Aug 27, 2019
1 parent 6391f39 commit ad47ff0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/test_main.py
Expand Up @@ -11,6 +11,9 @@

menu = d.dmenu()

def test_required_variables_available():
assert d.path_cache[-len('dmenu-extended'):] == 'dmenu-extended'

def test_command_to_list():
assert menu.command_to_list(['a', 'b', 'c']) == [u'a', u'b', u'c']
assert menu.command_to_list('a b c') == [u'a', u'b', u'c']
Expand Down

0 comments on commit ad47ff0

Please sign in to comment.