Skip to content

Commit

Permalink
Release v10.0.2 (#43)
Browse files Browse the repository at this point in the history
* Added library version validator

* Added instruction for upgrade library

* Added INSIDE_DOCKER parameter from ENV (#42)

* Update setup.py

* remove lib validator
  • Loading branch information
polischuks authored Oct 10, 2023
1 parent 06f9b7d commit e659255
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
6 changes: 3 additions & 3 deletions hstest/stage/stage_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,14 @@ def __dir__(self):
from hstest.testing.unittest.unexepected_error_test import UnexpectedErrorTest
from hstest.testing.unittest.user_error_test import UserErrorTest
if (not issubclass(self, StageTest) or self == StageTest or
self in {ExpectedFailTest, UserErrorTest, UnexpectedErrorTest}):
self in {ExpectedFailTest, UserErrorTest, UnexpectedErrorTest}):
return []
init_dir = dir(super(DirMeta, self)) + list(self.__dict__.keys())
filtered_dir = list(filter(lambda x: not str(x).startswith('test'), init_dir))
filtered_dir.append('test_run_unittest')
if (not self.dynamic_methods() and
'generate' not in init_dir and
not issubclass(self, ExpectedFailTest)):
'generate' not in init_dir and
not issubclass(self, ExpectedFailTest)):
return []
return set(filtered_dir)

Expand Down
3 changes: 2 additions & 1 deletion hstest/testing/execution_options.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import os
import sys

skip_slow: bool = '--skip_slow' in sys.argv
ignore_stdout: bool = '--ignore_stdout' in sys.argv
inside_docker: bool = '--inside_docker' in sys.argv
inside_docker: bool = '--inside_docker' in sys.argv or os.environ.get('INSIDE_DOCKER', '') == '1'
debug_mode: bool = '--debug_mode' in sys.argv or sys.gettrace() is not None
force_process_testing: bool = '--force_process_testing' in sys.argv
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

setup(
name="hs-test-python",
version="10.0.1",
version="10.0.2",
author="Vladimir Turov",
author_email="vladimir.turov@stepik.org",
description=(
Expand Down

0 comments on commit e659255

Please sign in to comment.