2626
2727# Connection for testing
2828CONN_INFO = dict (
29- host = environ .get ('DJ_TEST_HOST' , 'localhost ' ),
29+ host = environ .get ('DJ_TEST_HOST' , 'fakeservices.datajoint.io ' ),
3030 user = environ .get ('DJ_TEST_USER' , 'datajoint' ),
3131 password = environ .get ('DJ_TEST_PASSWORD' , 'datajoint' ))
3232
3333CONN_INFO_ROOT = dict (
34- host = environ .get ('DJ_HOST' , 'localhost ' ),
34+ host = environ .get ('DJ_HOST' , 'fakeservices.datajoint.io ' ),
3535 user = environ .get ('DJ_USER' , 'root' ),
3636 password = environ .get ('DJ_PASS' , 'simple' ))
3737
3838S3_CONN_INFO = dict (
39- endpoint = environ .get ('S3_ENDPOINT' , 'localhost:9000 ' ),
39+ endpoint = environ .get ('S3_ENDPOINT' , 'fakeservices.datajoint.io ' ),
4040 access_key = environ .get ('S3_ACCESS_KEY' , 'datajoint' ),
4141 secret_key = environ .get ('S3_SECRET_KEY' , 'datajoint' ),
4242 bucket = environ .get ('S3_BUCKET' , 'datajoint.test' ))
@@ -132,7 +132,7 @@ def setup_package():
132132 # Add old S3
133133 source = Path (
134134 Path (__file__ ).resolve ().parent ,
135- 'external-legacy-data' ,'s3' )
135+ 'external-legacy-data' , 's3' )
136136 region = "us-east-1"
137137 try :
138138 minioClient .make_bucket (S3_MIGRATE_BUCKET , location = region )
@@ -144,7 +144,7 @@ def setup_package():
144144 if os .path .isfile (str (path )) and ".sql" not in str (path ):
145145 minioClient .fput_object (
146146 S3_MIGRATE_BUCKET , str (Path (
147- os .path .relpath (str (path ),str (Path (source ,S3_MIGRATE_BUCKET ))))
147+ os .path .relpath (str (path ), str (Path (source , S3_MIGRATE_BUCKET ))))
148148 .as_posix ()), str (path ))
149149 # Add S3
150150 try :
0 commit comments