Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "zenlib"
version = "3.1.0"
version = "3.1.1"
authors = [
{ name="Desultory", email="[email protected]" },
]
Expand Down
6 changes: 4 additions & 2 deletions tests/test_namespace.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
from os import environ
from unittest import TestCase, main, skipIf



from zenlib.util import nsexec


Expand All @@ -13,13 +11,17 @@ class TestPassedException(Exception):
def test_exception():
raise TestPassedException("This is a test exception")


def test_add_func(a, b):
return a + b


def test_uid_gid():
import os

return os.getuid(), os.getgid()


class TestNamespace(TestCase):
@skipIf(environ.get("CI") == "true", "Skipping test_namespace.py in CI")
def test_user_namespace_exceptions(self):
Expand Down
Loading