cleaned test
This commit is contained in:
parent
fcdec764f1
commit
17a382d35e
|
@ -1,18 +1,12 @@
|
|||
package eu.dnetlib.data.collector.plugins.ariadneplus.thanados;
|
||||
|
||||
import org.apache.commons.io.FileUtils;
|
||||
import org.apache.commons.io.IOUtils;
|
||||
import org.junit.Ignore;
|
||||
import org.junit.Test;
|
||||
|
||||
import java.io.File;
|
||||
import java.io.FileOutputStream;
|
||||
import java.io.IOException;
|
||||
|
||||
@Ignore
|
||||
public class ThanadosIteratorTest {
|
||||
|
||||
String sitelist = "https://thanados.net/sites/sitelist";
|
||||
private String sitelist = "https://thanados.net/sites/sitelist";
|
||||
ThanadosIterator it;
|
||||
|
||||
@Test
|
||||
|
@ -23,7 +17,7 @@ public class ThanadosIteratorTest {
|
|||
}
|
||||
|
||||
@Test
|
||||
public void testDownload() throws IOException {
|
||||
public void testDownload(){
|
||||
int count = 0;
|
||||
it = new ThanadosIterator("https://thanados.openatlas.eu/api/0.3/subunits", sitelist);
|
||||
while(it.hasNext()){
|
||||
|
@ -33,4 +27,6 @@ public class ThanadosIteratorTest {
|
|||
}
|
||||
System.out.println("DONE");
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue