from tornado.httpclient import HTTPRequest
import json
import os.path
import json
import shutil
from xml.etree import ElementTree as ET

from util import generate_filename
from util import make_trace_folder

from tests.base import BaseRecorderTestCase


class VisualizationTestCase(BaseRecorderTestCase):
    def test_no_data(self):
        self.http_client.fetch(self.get_url('/visualization'), self.stop)
        response = self.wait()
        assert 'class="vehicle"' in response.body

from tornado.httpclient import HTTPRequest
import json
import os.path
import json
import shutil
from xml.etree import ElementTree as ET

from util import generate_filename
from util import make_trace_folder

from tests.base import BaseRecorderTestCase


class VisualizationTestCase(BaseRecorderTestCase):
    def test_no_data(self):
        self.http_client.fetch(self.get_url('/visualization'), self.stop)
        response = self.wait()
        assert "measurement" in response.body

Update test case for visualization page.
Update test case for visualization page.

  from tornado.httpclient import HTTPRequest
  import json
  import os.path
  import json
  import shutil
  from xml.etree import ElementTree as ET
  
  from util import generate_filename
  from util import make_trace_folder
  
  from tests.base import BaseRecorderTestCase
  
  
  class VisualizationTestCase(BaseRecorderTestCase):
      def test_no_data(self):
          self.http_client.fetch(self.get_url('/visualization'), self.stop)
          response = self.wait()
-         assert 'class="vehicle"' in response.body
+         assert "measurement" in response.body
  
Update test case for visualization page.
## Code Before:
from tornado.httpclient import HTTPRequest
import json
import os.path
import json
import shutil
from xml.etree import ElementTree as ET

from util import generate_filename
from util import make_trace_folder

from tests.base import BaseRecorderTestCase


class VisualizationTestCase(BaseRecorderTestCase):
    def test_no_data(self):
        self.http_client.fetch(self.get_url('/visualization'), self.stop)
        response = self.wait()
        assert 'class="vehicle"' in response.body

## Instruction:
Update test case for visualization page.
## Code After:
from tornado.httpclient import HTTPRequest
import json
import os.path
import json
import shutil
from xml.etree import ElementTree as ET

from util import generate_filename
from util import make_trace_folder

from tests.base import BaseRecorderTestCase


class VisualizationTestCase(BaseRecorderTestCase):
    def test_no_data(self):
        self.http_client.fetch(self.get_url('/visualization'), self.stop)
        response = self.wait()
        assert "measurement" in response.body
