Skip to content

Commit

Permalink
chore: update test
Browse files Browse the repository at this point in the history
  • Loading branch information
leangseu-edx committed Sep 19, 2023
1 parent 291c87b commit 5776f9b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion openassessment/xblock/test/test_load_static.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,10 @@ def test_get_url_with_custom_static_url(self):

@patch('pkg_resources.resource_string')
def test_is_dev_server_url(self, resource_string):
# some unknown bug in python mock, need to call setUp() again
self.setUp()
resource_string.return_value = None
key_url = 'some_url.js'
print(LoadStatic._manifest)
with patch('json.loads') as jsondata:
manifest = {
'some_url.js': 'some_url.hash.js',
Expand Down

0 comments on commit 5776f9b

Please sign in to comment.