Skip to content

Commit 45ae5c8

Browse files
committed
test: Remove unused test
1 parent 92329b9 commit 45ae5c8

File tree

1 file changed

+0
-25
lines changed

1 file changed

+0
-25
lines changed

tests/test_config.py

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@
1111
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
1212
# License for the specific language governing permissions and limitations
1313
# under the License.
14-
import asyncio
15-
1614
from pytest import mark
1715
from unittest.mock import MagicMock
1816
from supertokens_python import InputAppInfo, SupertokensConfig, init
@@ -802,26 +800,3 @@ async def test_cookie_samesite_with_ec2_public_url():
802800
assert SessionRecipe.get_instance().config.cookie_domain is None
803801
assert SessionRecipe.get_instance().config.cookie_same_site == "lax"
804802
assert SessionRecipe.get_instance().config.cookie_secure is False
805-
806-
807-
def test_nest_asyncio_import():
808-
from supertokens_python.async_to_sync_wrapper import nest_asyncio_enabled, sync
809-
from os import getenv
810-
811-
circleci = getenv("CIRCLECI", "false") == "true"
812-
813-
if not circleci:
814-
return
815-
816-
# Has to be circleci
817-
if nest_asyncio_enabled():
818-
# nest-asyncio should be installed
819-
sync(asyncio.sleep(0.1))
820-
else:
821-
# nest-asyncio shouldn't be installed and sync() should throw error
822-
try:
823-
sync(asyncio.sleep(0.1))
824-
assert False, "Shouldn't come here"
825-
except ModuleNotFoundError:
826-
# should be missing
827-
assert True

0 commit comments

Comments
 (0)