Skip to content

Commit

Permalink
Improve dependencies test, fix broken dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
wbond committed Jul 19, 2016
1 parent 17a1c4c commit 9ebc01b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions repository/dependencies.json
Original file line number Diff line number Diff line change
Expand Up @@ -325,6 +325,7 @@
"name": "pathtools",
"load_order": "50",
"description": "Path utilities for Python https://pypi.python.org/pypi/pathtools",
"author": "vovkkk",
"issues": "https://github.com/vovkkk/sublime-pathtools/issues",
"releases": [
{
Expand Down Expand Up @@ -634,6 +635,7 @@
"name": "watchdog",
"load_order": "20",
"description": "Python library to monitor filesystem events http://packages.python.org/watchdog/",
"author": "vovkkk",
"issues": "https://github.com/vovkkk/sublime-watchdog/issues",
"releases": [
{
Expand Down
2 changes: 2 additions & 0 deletions tests/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -371,6 +371,8 @@ def _test_dependency(self, include, data):
elif k == 'load_order':
self.assertRegex(v, '^\d\d$', '"load_order" must be a two '
'digit string')
for key in ('author', 'releases', 'issues', 'description', 'load_order'):
self.assertIn(key, data, '%r is required for dependencies' % key)

pck_release_key_types_map = {
'base': str_cls,
Expand Down

0 comments on commit 9ebc01b

Please sign in to comment.