def test_milkcocoa_instance_connection_no_ssl(self):
        credentials = self.keys.get_credentials()

        milkcocoa = Milkcocoa.connect(app_id=credentials.get('app_id'),
                                      useSSL=False)
        self.assertIsNotNone(milkcocoa)
        self.assertIsInstance(milkcocoa, Milkcocoa)
    def test_datastore_instance(self):
        credentials = self.keys.get_credentials()

        milkcocoa = Milkcocoa.connect(app_id=credentials.get('app_id'), useSSL=False)
        datastore = milkcocoa.datastore('dumb_python')

        self.assertIsNotNone(datastore)
        self.assertIsInstance(datastore, DataStore)
Example #3
0
    def test_milkcocoa_instance_connection_no_ssl(self):
        credentials = self.keys.get_credentials()

        milkcocoa = Milkcocoa.connect(app_id=credentials.get("app_id"), useSSL=False)
        self.assertIsNotNone(milkcocoa)
        self.assertIsInstance(milkcocoa, Milkcocoa)