mirror of
				https://github.com/clearml/clearml-server
				synced 2025-06-26 23:15:47 +00:00 
			
		
		
		
	Fixed automated unit tests for api server
This commit is contained in:
		
							parent
							
								
									57714203b4
								
							
						
					
					
						commit
						eeab15e78c
					
				@ -5,16 +5,16 @@ import json
 | 
				
			|||||||
import unittest
 | 
					import unittest
 | 
				
			||||||
 | 
					
 | 
				
			||||||
import es_factory
 | 
					import es_factory
 | 
				
			||||||
from tests.api_client import APIClient
 | 
					 | 
				
			||||||
from config import config
 | 
					from config import config
 | 
				
			||||||
 | 
					from tests.automated import TestService
 | 
				
			||||||
 | 
					
 | 
				
			||||||
log = config.logger(__file__)
 | 
					log = config.logger(__file__)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
class TestDatasetsService(unittest.TestCase):
 | 
					class TestDatasetsService(TestService):
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    def setUp(self):
 | 
					    def setUp(self, version="1.0"):
 | 
				
			||||||
        self.api = APIClient(base_url="http://localhost:5100/v1.0")
 | 
					        super(TestDatasetsService, self).setUp(version=version)
 | 
				
			||||||
        self.created_tasks = []
 | 
					        self.created_tasks = []
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        self.task = dict(
 | 
					        self.task = dict(
 | 
				
			||||||
 | 
				
			|||||||
@ -1 +1,2 @@
 | 
				
			|||||||
numpy>=1.12.1
 | 
					numpy>=1.12.1
 | 
				
			||||||
 | 
					parameterized>=0.7.0
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user