def setUp(self):
     '''
     We introduce the data here
     '''
     #We used the sandbox here
     geni.update_geni_address("https://sandbox.geni.com")
     geni.set_token(os.environ['SANDBOX_KEY'])
Exemple #2
0
 def setUp(self):
     "Creation of the different parameters needs for execution, including location of database"
     location1 = os.path.join(os.getcwd(), "fixtures_files")
     location2 = os.path.join(os.getcwd(), "tests", "fixtures_files")
     if os.path.exists(location1):
         self.filelocation = location1
     else:
         self.filelocation = location2
     #We used the sandbox here
     set_token(os.environ['SANDBOX_KEY'])
     update_geni_address("https://sandbox.geni.com")