Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
improved embedded mode test to display an actual region
- Loading branch information
Showing
1 changed file
with
4 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,14 @@ | ||
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' | ||
self.base_url = super( AbstractVolvoxBiodbTest, self ).baseURL() + '?nav=0&tracklist=0&overview=0&tracks=volvox_microarray.bw&loc=ctgA' | ||
return self.base_url | ||
|
||
def test_volvox( self ): | ||
time.sleep(0.5) | ||
self.assert_no_js_errors() | ||
self.browser.close() |