Skip to content

Commit

Permalink
New test
Browse files Browse the repository at this point in the history
  • Loading branch information
vojtechjelinek committed Apr 13, 2017
1 parent 1699502 commit ebb9644
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion assets/constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,6 @@ var constants = {
"Mathematics", "Medicine", "Music", "Philosophy", "Physics", "Poetry",
"Probability", "Programming", "Puzzles", "Reading", "Spanish", "Sport",
"Statistics", "Trigonometry", "Welcome"],
"DISABLED_EXPLORATION_IDS": ["5"]
"DISABLED_EXPLORATION_IDS": ["5"],
"TESTING_CONSTANTS": "test"
};
1 change: 1 addition & 0 deletions constants_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,4 @@ def test_constants_file_contains_valid_json(self):
with open(os.path.join('assets', 'constants.js'), 'r') as f:
json = constants.parse_json(f)
self.assertTrue(isinstance(json, dict))
self.assertTrue(json["TESTING_CONSTANTS"] == "test")

0 comments on commit ebb9644

Please sign in to comment.