Beispiel #1
0
 def test_runWithDataRemote(self):
     print("\nOpenNeuroClient::test_runWithDataRemote")
     TestOpenNeuroClient.serversForTests.stopServers()
     TestOpenNeuroClient.serversForTests.startServers(
         allowedDirs=allowedDirs,
         allowedFileTypes=allowedFileTypes,
         dataRemote=True,
         projectArgs=openNeuroArgs)
     client = ClientInterface()
     assert client.isDataRemote() == True
     argv = ['--archive']
     ret = openNeuroClient.main(argv)
     assert ret == 0
Beispiel #2
0
 def test_runWithoutProjectInterface(self):
     print("\nOpenNeuroClient::test_runWithoutProjectInterface:")
     TestOpenNeuroClient.serversForTests.stopServers()
     argv = ['-y', '--archive']
     ret = openNeuroClient.main(argv)
     assert ret == 0