Skip to content

armgit / E2B

Public Imported from GitHub
0

Open-source, secure environment with real-world tools for enterprise-grade agents.

Remove dummy tests

Jakub Novak974757632e76
diff --git a/packages/python-sdk/e2b/api/client/test/__init__.py b/packages/python-sdk/e2b/api/client/test/__init__.py
deleted file mode 100644
index e69de29bb..000000000
diff --git a/packages/python-sdk/e2b/api/client/test/test_default_api.py b/packages/python-sdk/e2b/api/client/test/test_default_api.py
deleted file mode 100644
index 91cd9a75a..000000000
--- a/packages/python-sdk/e2b/api/client/test/test_default_api.py
+++ /dev/null
@@ -1,37 +0,0 @@
-# coding: utf-8
-
-"""
- Devbook
-
- Devbook API # noqa: E501
-
- The version of the OpenAPI document: 1.0.0
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-"""
-
-
-import unittest
-
-import e2b.api.client
-from e2b.api.client.api.default_api import DefaultApi # noqa: E501
-from e2b.api.client.rest import ApiException
-
-
-class TestDefaultApi(unittest.TestCase):
- """DefaultApi unit test stubs"""
-
- def setUp(self):
- self.api = e2b.api.client.api.default_api.DefaultApi() # noqa: E501
-
- def tearDown(self):
- pass
-
- def test_health_get(self):
- """Test case for health_get"""
- pass
-
-
-if __name__ == "__main__":
- unittest.main()
diff --git a/packages/python-sdk/e2b/api/client/test/test_environment.py b/packages/python-sdk/e2b/api/client/test/test_environment.py
deleted file mode 100644
index 7000d8a59..000000000
--- a/packages/python-sdk/e2b/api/client/test/test_environment.py
+++ /dev/null
@@ -1,59 +0,0 @@
-# coding: utf-8
-
-"""
- Devbook
-
- Devbook API # noqa: E501
-
- The version of the OpenAPI document: 1.0.0
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-"""
-
-
-import unittest
-import datetime
-
-import e2b.api.client
-from e2b.api.client.models.environment import Environment # noqa: E501
-from e2b.api.client.rest import ApiException
-
-
-class TestEnvironment(unittest.TestCase):
- """Environment unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional):
- """Test Environment
- include_option is a boolean, when False only required
- params are included, when True both required and
- optional params are included"""
- # uncomment below to create an instance of `Environment`
- """
- model = e2b.api.client.models.environment.Environment() # noqa: E501
- if include_optional :
- return Environment(
- id = '',
- template = '',
- title = ''
- )
- else :
- return Environment(
- id = '',
- )
- """
-
- def testEnvironment(self):
- """Test Environment"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-
-if __name__ == "__main__":
- unittest.main()
diff --git a/packages/python-sdk/e2b/api/client/test/test_environment_state.py b/packages/python-sdk/e2b/api/client/test/test_environment_state.py
deleted file mode 100644
index eca4ec9ea..000000000
--- a/packages/python-sdk/e2b/api/client/test/test_environment_state.py
+++ /dev/null
@@ -1,38 +0,0 @@
-# coding: utf-8
-
-"""
- Devbook
-
- Devbook API # noqa: E501
-
- The version of the OpenAPI document: 1.0.0
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-"""
-
-
-import unittest
-import datetime
-
-import e2b.api.client
-from e2b.api.client.models.environment_state import EnvironmentState # noqa: E501
-from e2b.api.client.rest import ApiException
-
-
-class TestEnvironmentState(unittest.TestCase):
- """EnvironmentState unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def testEnvironmentState(self):
- """Test EnvironmentState"""
- # inst = EnvironmentState()
-
-
-if __name__ == "__main__":
- unittest.main()
diff --git a/packages/python-sdk/e2b/api/client/test/test_environment_state_update.py b/packages/python-sdk/e2b/api/client/test/test_environment_state_update.py
deleted file mode 100644
index 4c2854f1d..000000000
--- a/packages/python-sdk/e2b/api/client/test/test_environment_state_update.py
+++ /dev/null
@@ -1,59 +0,0 @@
-# coding: utf-8
-
-"""
- Devbook
-
- Devbook API # noqa: E501
-
- The version of the OpenAPI document: 1.0.0
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-"""
-
-
-import unittest
-import datetime
-
-import e2b.api.client
-from e2b.api.client.models.environment_state_update import (
- EnvironmentStateUpdate,
-) # noqa: E501
-from e2b.api.client.rest import ApiException
-
-
-class TestEnvironmentStateUpdate(unittest.TestCase):
- """EnvironmentStateUpdate unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional):
- """Test EnvironmentStateUpdate
- include_option is a boolean, when False only required
- params are included, when True both required and
- optional params are included"""
- # uncomment below to create an instance of `EnvironmentStateUpdate`
- """
- model = e2b.api.client.models.environment_state_update.EnvironmentStateUpdate() # noqa: E501
- if include_optional :
- return EnvironmentStateUpdate(
- state = 'Building'
- )
- else :
- return EnvironmentStateUpdate(
- state = 'Building',
- )
- """
-
- def testEnvironmentStateUpdate(self):
- """Test EnvironmentStateUpdate"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-
-if __name__ == "__main__":
- unittest.main()
diff --git a/packages/python-sdk/e2b/api/client/test/test_environment_title_update.py b/packages/python-sdk/e2b/api/client/test/test_environment_title_update.py
deleted file mode 100644
index 7d9dae03d..000000000
--- a/packages/python-sdk/e2b/api/client/test/test_environment_title_update.py
+++ /dev/null
@@ -1,58 +0,0 @@
-# coding: utf-8
-
-"""
- Devbook
-
- Devbook API # noqa: E501
-
- The version of the OpenAPI document: 1.0.0
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-"""
-
-
-import unittest
-import datetime
-
-import e2b.api.client
-from e2b.api.client.models.environment_title_update import (
- EnvironmentTitleUpdate,
-) # noqa: E501
-from e2b.api.client.rest import ApiException
-
-
-class TestEnvironmentTitleUpdate(unittest.TestCase):
- """EnvironmentTitleUpdate unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional):
- """Test EnvironmentTitleUpdate
- include_option is a boolean, when False only required
- params are included, when True both required and
- optional params are included"""
- # uncomment below to create an instance of `EnvironmentTitleUpdate`
- """
- model = e2b.api.client.models.environment_title_update.EnvironmentTitleUpdate() # noqa: E501
- if include_optional :
- return EnvironmentTitleUpdate(
- title = ''
- )
- else :
- return EnvironmentTitleUpdate(
- )
- """
-
- def testEnvironmentTitleUpdate(self):
- """Test EnvironmentTitleUpdate"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-
-if __name__ == "__main__":
- unittest.main()
diff --git a/packages/python-sdk/e2b/api/client/test/test_envs_api.py b/packages/python-sdk/e2b/api/client/test/test_envs_api.py
deleted file mode 100644
index 0161f57e8..000000000
--- a/packages/python-sdk/e2b/api/client/test/test_envs_api.py
+++ /dev/null
@@ -1,61 +0,0 @@
-# coding: utf-8
-
-"""
- Devbook
-
- Devbook API # noqa: E501
-
- The version of the OpenAPI document: 1.0.0
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-"""
-
-
-import unittest
-
-import e2b.api.client
-from e2b.api.client.api.envs_api import EnvsApi # noqa: E501
-from e2b.api.client.rest import ApiException
-
-
-class TestEnvsApi(unittest.TestCase):
- """EnvsApi unit test stubs"""
-
- def setUp(self):
- self.api = e2b.api.client.api.envs_api.EnvsApi() # noqa: E501
-
- def tearDown(self):
- pass
-
- def test_envs_code_snippet_id_delete(self):
- """Test case for envs_code_snippet_id_delete"""
- pass
-
- def test_envs_code_snippet_id_patch(self):
- """Test case for envs_code_snippet_id_patch"""
- pass
-
- def test_envs_code_snippet_id_post(self):
- """Test case for envs_code_snippet_id_post"""
- pass
-
- def test_envs_code_snippet_id_state_put(self):
- """Test case for envs_code_snippet_id_state_put"""
- pass
-
- def test_envs_code_snippet_id_title_put(self):
- """Test case for envs_code_snippet_id_title_put"""
- pass
-
- def test_envs_get(self):
- """Test case for envs_get"""
- pass
-
- def test_envs_post(self):
- """Test case for envs_post"""
- pass
-
-
-if __name__ == "__main__":
- unittest.main()
diff --git a/packages/python-sdk/e2b/api/client/test/test_envs_get200_response_inner.py b/packages/python-sdk/e2b/api/client/test/test_envs_get200_response_inner.py
deleted file mode 100644
index c80d81d84..000000000
--- a/packages/python-sdk/e2b/api/client/test/test_envs_get200_response_inner.py
+++ /dev/null
@@ -1,61 +0,0 @@
-# coding: utf-8
-
-"""
- Devbook
-
- Devbook API # noqa: E501
-
- The version of the OpenAPI document: 1.0.0
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-"""
-
-
-import unittest
-import datetime
-
-import e2b.api.client
-from e2b.api.client.models.envs_get200_response_inner import (
- EnvsGet200ResponseInner,
-) # noqa: E501
-from e2b.api.client.rest import ApiException
-
-
-class TestEnvsGet200ResponseInner(unittest.TestCase):
- """EnvsGet200ResponseInner unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional):
- """Test EnvsGet200ResponseInner
- include_option is a boolean, when False only required
- params are included, when True both required and
- optional params are included"""
- # uncomment below to create an instance of `EnvsGet200ResponseInner`
- """
- model = e2b.api.client.models.envs_get200_response_inner.EnvsGet200ResponseInner() # noqa: E501
- if include_optional :
- return EnvsGet200ResponseInner(
- id = '',
- template = '',
- title = ''
- )
- else :
- return EnvsGet200ResponseInner(
- id = '',
- )
- """
-
- def testEnvsGet200ResponseInner(self):
- """Test EnvsGet200ResponseInner"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-
-if __name__ == "__main__":
- unittest.main()
diff --git a/packages/python-sdk/e2b/api/client/test/test_error.py b/packages/python-sdk/e2b/api/client/test/test_error.py
deleted file mode 100644
index 38f66f927..000000000
--- a/packages/python-sdk/e2b/api/client/test/test_error.py
+++ /dev/null
@@ -1,59 +0,0 @@
-# coding: utf-8
-
-"""
- Devbook
-
- Devbook API # noqa: E501
-
- The version of the OpenAPI document: 1.0.0
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-"""
-
-
-import unittest
-import datetime
-
-import e2b.api.client
-from e2b.api.client.models.error import Error # noqa: E501
-from e2b.api.client.rest import ApiException
-
-
-class TestError(unittest.TestCase):
- """Error unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional):
- """Test Error
- include_option is a boolean, when False only required
- params are included, when True both required and
- optional params are included"""
- # uncomment below to create an instance of `Error`
- """
- model = e2b.api.client.models.error.Error() # noqa: E501
- if include_optional :
- return Error(
- code = 56,
- message = ''
- )
- else :
- return Error(
- code = 56,
- message = '',
- )
- """
-
- def testError(self):
- """Test Error"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-
-if __name__ == "__main__":
- unittest.main()
diff --git a/packages/python-sdk/e2b/api/client/test/test_new_environment.py b/packages/python-sdk/e2b/api/client/test/test_new_environment.py
deleted file mode 100644
index 8c05f373b..000000000
--- a/packages/python-sdk/e2b/api/client/test/test_new_environment.py
+++ /dev/null
@@ -1,58 +0,0 @@
-# coding: utf-8
-
-"""
- Devbook
-
- Devbook API # noqa: E501
-
- The version of the OpenAPI document: 1.0.0
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-"""
-
-
-import unittest
-import datetime
-
-import e2b.api.client
-from e2b.api.client.models.new_environment import NewEnvironment # noqa: E501
-from e2b.api.client.rest import ApiException
-
-
-class TestNewEnvironment(unittest.TestCase):
- """NewEnvironment unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional):
- """Test NewEnvironment
- include_option is a boolean, when False only required
- params are included, when True both required and
- optional params are included"""
- # uncomment below to create an instance of `NewEnvironment`
- """
- model = e2b.api.client.models.new_environment.NewEnvironment() # noqa: E501
- if include_optional :
- return NewEnvironment(
- title = '',
- template = ''
- )
- else :
- return NewEnvironment(
- template = '',
- )
- """
-
- def testNewEnvironment(self):
- """Test NewEnvironment"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-
-if __name__ == "__main__":
- unittest.main()
diff --git a/packages/python-sdk/e2b/api/client/test/test_new_session.py b/packages/python-sdk/e2b/api/client/test/test_new_session.py
deleted file mode 100644
index 46dfe9b1e..000000000
--- a/packages/python-sdk/e2b/api/client/test/test_new_session.py
+++ /dev/null
@@ -1,58 +0,0 @@
-# coding: utf-8
-
-"""
- Devbook
-
- Devbook API # noqa: E501
-
- The version of the OpenAPI document: 1.0.0
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-"""
-
-
-import unittest
-import datetime
-
-import e2b.api.client
-from e2b.api.client.models.new_session import NewSession # noqa: E501
-from e2b.api.client.rest import ApiException
-
-
-class TestNewSession(unittest.TestCase):
- """NewSession unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional):
- """Test NewSession
- include_option is a boolean, when False only required
- params are included, when True both required and
- optional params are included"""
- # uncomment below to create an instance of `NewSession`
- """
- model = e2b.api.client.models.new_session.NewSession() # noqa: E501
- if include_optional :
- return NewSession(
- edit_enabled = True,
- code_snippet_id = ''
- )
- else :
- return NewSession(
- code_snippet_id = '',
- )
- """
-
- def testNewSession(self):
- """Test NewSession"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-
-if __name__ == "__main__":
- unittest.main()
diff --git a/packages/python-sdk/e2b/api/client/test/test_session.py b/packages/python-sdk/e2b/api/client/test/test_session.py
deleted file mode 100644
index 5e669662a..000000000
--- a/packages/python-sdk/e2b/api/client/test/test_session.py
+++ /dev/null
@@ -1,63 +0,0 @@
-# coding: utf-8
-
-"""
- Devbook
-
- Devbook API # noqa: E501
-
- The version of the OpenAPI document: 1.0.0
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-"""
-
-
-import unittest
-import datetime
-
-import e2b.api.client
-from e2b.api.client.models.session import Session # noqa: E501
-from e2b.api.client.rest import ApiException
-
-
-class TestSession(unittest.TestCase):
- """Session unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional):
- """Test Session
- include_option is a boolean, when False only required
- params are included, when True both required and
- optional params are included"""
- # uncomment below to create an instance of `Session`
- """
- model = e2b.api.client.models.session.Session() # noqa: E501
- if include_optional :
- return Session(
- code_snippet_id = '',
- edit_enabled = True,
- session_id = '',
- client_id = ''
- )
- else :
- return Session(
- code_snippet_id = '',
- edit_enabled = True,
- session_id = '',
- client_id = '',
- )
- """
-
- def testSession(self):
- """Test Session"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-
-if __name__ == "__main__":
- unittest.main()
diff --git a/packages/python-sdk/e2b/api/client/test/test_sessions_api.py b/packages/python-sdk/e2b/api/client/test/test_sessions_api.py
deleted file mode 100644
index 6f4d2a327..000000000
--- a/packages/python-sdk/e2b/api/client/test/test_sessions_api.py
+++ /dev/null
@@ -1,49 +0,0 @@
-# coding: utf-8
-
-"""
- Devbook
-
- Devbook API # noqa: E501
-
- The version of the OpenAPI document: 1.0.0
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-"""
-
-
-import unittest
-
-import e2b.api.client
-from e2b.api.client.api.sessions_api import SessionsApi # noqa: E501
-from e2b.api.client.rest import ApiException
-
-
-class TestSessionsApi(unittest.TestCase):
- """SessionsApi unit test stubs"""
-
- def setUp(self):
- self.api = e2b.api.client.api.sessions_api.SessionsApi() # noqa: E501
-
- def tearDown(self):
- pass
-
- def test_sessions_get(self):
- """Test case for sessions_get"""
- pass
-
- def test_sessions_post(self):
- """Test case for sessions_post"""
- pass
-
- def test_sessions_session_id_delete(self):
- """Test case for sessions_session_id_delete"""
- pass
-
- def test_sessions_session_id_refresh_post(self):
- """Test case for sessions_session_id_refresh_post"""
- pass
-
-
-if __name__ == "__main__":
- unittest.main()
diff --git a/packages/python-sdk/e2b/api/client/test/test_sessions_get200_response_inner.py b/packages/python-sdk/e2b/api/client/test/test_sessions_get200_response_inner.py
deleted file mode 100644
index a9e2f4b4c..000000000
--- a/packages/python-sdk/e2b/api/client/test/test_sessions_get200_response_inner.py
+++ /dev/null
@@ -1,65 +0,0 @@
-# coding: utf-8
-
-"""
- Devbook
-
- Devbook API # noqa: E501
-
- The version of the OpenAPI document: 1.0.0
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-"""
-
-
-import unittest
-import datetime
-
-import e2b.api.client
-from e2b.api.client.models.sessions_get200_response_inner import (
- SessionsGet200ResponseInner,
-) # noqa: E501
-from e2b.api.client.rest import ApiException
-
-
-class TestSessionsGet200ResponseInner(unittest.TestCase):
- """SessionsGet200ResponseInner unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional):
- """Test SessionsGet200ResponseInner
- include_option is a boolean, when False only required
- params are included, when True both required and
- optional params are included"""
- # uncomment below to create an instance of `SessionsGet200ResponseInner`
- """
- model = e2b.api.client.models.sessions_get200_response_inner.SessionsGet200ResponseInner() # noqa: E501
- if include_optional :
- return SessionsGet200ResponseInner(
- code_snippet_id = '',
- edit_enabled = True,
- session_id = '',
- client_id = ''
- )
- else :
- return SessionsGet200ResponseInner(
- code_snippet_id = '',
- edit_enabled = True,
- session_id = '',
- client_id = '',
- )
- """
-
- def testSessionsGet200ResponseInner(self):
- """Test SessionsGet200ResponseInner"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-
-if __name__ == "__main__":
- unittest.main()
diff --git a/packages/python-sdk/e2b/api/client/test/test_template.py b/packages/python-sdk/e2b/api/client/test/test_template.py
deleted file mode 100644
index 02a1c0a96..000000000
--- a/packages/python-sdk/e2b/api/client/test/test_template.py
+++ /dev/null
@@ -1,38 +0,0 @@
-# coding: utf-8
-
-"""
- Devbook
-
- Devbook API # noqa: E501
-
- The version of the OpenAPI document: 1.0.0
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-"""
-
-
-import unittest
-import datetime
-
-import e2b.api.client
-from e2b.api.client.models.template import Template # noqa: E501
-from e2b.api.client.rest import ApiException
-
-
-class TestTemplate(unittest.TestCase):
- """Template unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def testTemplate(self):
- """Test Template"""
- # inst = Template()
-
-
-if __name__ == "__main__":
- unittest.main()