Replace usage of UUID.get_hex() - BOM-672

This commit is contained in:
Jeremy Bowman
2019-09-19 09:52:42 -04:00
committed by Feanil Patel
parent 1b6e6634cb
commit 23870802c6
4 changed files with 8 additions and 8 deletions

View File

@@ -108,7 +108,7 @@ class TestXblockUtils(SharedModuleStoreTestCase):
frag=fragment,
context={"wrap_xblock_data": {"custom-attribute": "custom-value"}},
usage_id_serializer=lambda usage_id: quote_slashes(six.text_type(usage_id)),
request_token=uuid.uuid1().get_hex()
request_token=uuid.uuid1().hex
)
self.assertIsInstance(test_wrap_output, Fragment)
self.assertIn('xblock-baseview', test_wrap_output.content)