test - faster test suite by only initalizing once (#11)
This commit is contained in:
		
							parent
							
								
									95d5584ef1
								
							
						
					
					
						commit
						a8f010243f
					
				@ -2,7 +2,8 @@ import unittest
 | 
				
			|||||||
import demographic_data_analyzer
 | 
					import demographic_data_analyzer
 | 
				
			||||||
 | 
					
 | 
				
			||||||
class DemographicAnalyzerTestCase(unittest.TestCase):
 | 
					class DemographicAnalyzerTestCase(unittest.TestCase):
 | 
				
			||||||
    def setUp(self):
 | 
					    @classmethod
 | 
				
			||||||
 | 
					    def setUpClass(self):
 | 
				
			||||||
        self.data = demographic_data_analyzer.calculate_demographic_data(print_data = False)
 | 
					        self.data = demographic_data_analyzer.calculate_demographic_data(print_data = False)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    def test_race_count(self):
 | 
					    def test_race_count(self):
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user