test: test_capa_system helper function replaced by mock_capa_system
This commit is contained in:
@@ -9,7 +9,7 @@ import unittest
|
||||
import ddt
|
||||
from lxml import etree
|
||||
|
||||
from xmodule.capa.tests.helpers import test_capa_system
|
||||
from xmodule.capa.tests.helpers import mock_capa_system
|
||||
from xmodule.capa.util import (
|
||||
compare_with_tolerance,
|
||||
contextualize_text,
|
||||
@@ -25,7 +25,7 @@ class UtilTest(unittest.TestCase):
|
||||
|
||||
def setUp(self):
|
||||
super(UtilTest, self).setUp() # lint-amnesty, pylint: disable=super-with-arguments
|
||||
self.system = test_capa_system()
|
||||
self.system = mock_capa_system()
|
||||
|
||||
def test_compare_with_tolerance(self): # lint-amnesty, pylint: disable=too-many-statements
|
||||
# Test default tolerance '0.001%' (it is relative)
|
||||
|
||||
Reference in New Issue
Block a user