33aa74b52d67a0d470b3131b5fa50175807167f0,api/data_refinery_api/tests.py,APITestCases,test_dataset_stats,#APITestCases#,638

Before Change


    def test_dataset_stats(self):
         Test the dataset stats endpoint 

        homo_sapiens = Organism.get_object_for_name("HOMO_SAPIENS")
        time.sleep(30)
        gallus_gallus = Organism.get_object_for_name("GALLUS_GALLUS")
        time.sleep(30)
        equus_ferus = Organism.get_object_for_name("EQUUS_FERUS")

After Change


         Test the dataset stats endpoint 

        gallus_gallus = Organism(name="GALLUS_GALLUS", taxonomy_id=9031, is_scientific_name=True)
        gallus_gallus.save()
        equus_ferus = Organism(name="EQUUS_FERUS", taxonomy_id=1114792, is_scientific_name=True)
        equus_ferus.save()

        ex = Experiment()
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 2

Instances


Project Name: AlexsLemonade/refinebio
Commit Name: 33aa74b52d67a0d470b3131b5fa50175807167f0
Time: 2020-01-07
Author: kurt.wheeler91@gmail.com
File Name: api/data_refinery_api/tests.py
Class Name: APITestCases
Method Name: test_dataset_stats


Project Name: AlexsLemonade/refinebio
Commit Name: c986fa1688f43fbb751d651e327695cfa8eb6dcb
Time: 2020-01-31
Author: arielsvn@gmail.com
File Name: workers/data_refinery_workers/processors/test_geo.py
Class Name: IlluminaToPCLTestCase
Method Name: test_good_detection


Project Name: AlexsLemonade/refinebio
Commit Name: 33aa74b52d67a0d470b3131b5fa50175807167f0
Time: 2020-01-07
Author: kurt.wheeler91@gmail.com
File Name: api/data_refinery_api/tests.py
Class Name: ESTestCases
Method Name: setUpClass