-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
28 additions
and
12 deletions.
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
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
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
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
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
22 changes: 13 additions & 9 deletions
22
biobb_dna/test/unitests/test_backbone/test_bipopulations.py
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,21 +1,25 @@ | ||
# type: ignore | ||
import platform | ||
|
||
from biobb_common.tools import test_fixtures as fx | ||
|
||
from biobb_dna.backbone.bipopulations import bipopulations | ||
import platform | ||
|
||
|
||
class TestBIPopulations(): | ||
class TestBIPopulations: | ||
def setup_class(self): | ||
fx.test_setup(self, 'bipopulations') | ||
fx.test_setup(self, "bipopulations") | ||
|
||
def teardown_class(self): | ||
fx.test_teardown(self) | ||
pass | ||
|
||
# fx.test_teardown(self) | ||
|
||
def test_bipopulations(self): | ||
returncode = bipopulations(properties=self.properties, **self.paths) | ||
assert fx.not_empty(self.paths['output_csv_path']) | ||
assert fx.not_empty(self.paths['output_jpg_path']) | ||
assert fx.not_empty(self.paths["output_csv_path"]) | ||
assert fx.not_empty(self.paths["output_jpg_path"]) | ||
assert fx.exe_success(returncode) | ||
if platform.system() == 'Darwin': | ||
assert fx.equal(self.paths['output_csv_path'], self.paths['ref_csv_output']) | ||
assert fx.equal(self.paths['output_jpg_path'], self.paths['ref_jpg_output']) | ||
if platform.system() == "Darwin": | ||
assert fx.equal(self.paths["output_csv_path"], self.paths["ref_csv_output"]) | ||
assert fx.equal(self.paths["output_jpg_path"], self.paths["ref_jpg_output"]) |