JAL-1270 read test props before manipulating config for this test
authorJim Procter <jprocter@issues.jalview.org>
Wed, 28 Sep 2016 14:56:38 +0000 (15:56 +0100)
committerJim Procter <jprocter@issues.jalview.org>
Wed, 28 Sep 2016 14:56:38 +0000 (15:56 +0100)
test/jalview/ws/sifts/SiftsClientTest.java

index 6f9a864..d3b485e 100644 (file)
@@ -21,6 +21,7 @@
 package jalview.ws.sifts;
 
 import jalview.api.DBRefEntryI;
+import jalview.bin.Cache;
 import jalview.datamodel.DBRefEntry;
 import jalview.datamodel.DBRefSource;
 import jalview.datamodel.Sequence;
@@ -170,6 +171,8 @@ public class SiftsClientTest
   @BeforeTest(alwaysRun = true)
   public void setUpSiftsClient() throws SiftsException
   {
+    // read test props before manipulating config
+    Cache.loadProperties("test/jalview/io/testProps.jvprops");
     // SIFTs entries are updated weekly - so use saved SIFTs file to enforce
     // test reproducibility
     new SiftsSettings();