import unittest
import time
from volvox_biodb_test import AbstractVolvoxBiodbTest

class EmbeddedModeTest( AbstractVolvoxBiodbTest, unittest.TestCase ):
    def baseURL( self ):
        if not self.base_url:
            self.base_url = super( AbstractVolvoxBiodbTest, self ).baseURL() + '?nav=0&tracklist=0&overview=0&tracks=volvox_microarray.bw_density%2Cvolvox_microarray.bw_xyplot&loc=ctgA'
        return self.base_url

    def test_volvox( self ):
        time.sleep(0.5)
        self.assert_no_js_errors()
        self.browser.close()

import unittest
import time
from volvox_biodb_test import AbstractVolvoxBiodbTest

class EmbeddedModeTest( AbstractVolvoxBiodbTest, unittest.TestCase ):
    def baseURL( self ):
        if not self.base_url:
            self.base_url = super( AbstractVolvoxBiodbTest, self ).baseURL() + '?nav=0&tracklist=0&overview=0&tracks=volvox_microarray.bw_density%2Cvolvox_microarray.bw_xyplot&loc=ctgA'
        return self.base_url

    def test_volvox( self ):
        self.waits_for_track("BigWig Density")
        self.waits_for_track("BigWig XY")
        self.assert_no_js_errors()
        self.browser.close()

remove time.sleep from embedded test