Skip to content

Commit

Permalink
Version 5.3.0 - Support for Structs
Browse files Browse the repository at this point in the history
### Added

- Support for the `google.protobuf.Value` messagea
  • Loading branch information
CCP-Zeulix committed Sep 24, 2024
1 parent a1c0bfa commit 913d5cc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions tests/test_services.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ class ServiceTest(unittest.TestCase):
@classmethod
def setUpClass(cls) -> None:
build_new_protos()
build_new_protos(package_name='unittesting')
# Add build root to path to access its modules
sys.path.append(BUILD_ROOT)

Expand Down
6 changes: 3 additions & 3 deletions tests/testutils/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ def clear_imports():
importlib.invalidate_caches()


def build_new_protos():
build_package = os.path.join(BUILD_ROOT, 'sandbox')
def build_new_protos(package_name: str = 'sandbox'):
build_package = os.path.join(BUILD_ROOT, package_name)
if os.path.exists(build_package):
shutil.rmtree(build_package)
time.sleep(0.1)
Expand All @@ -62,7 +62,7 @@ def build_new_protos():
# builder.build()
log.info(f'{PROJECT_ROOT=}')

stdout, stderr, retcode = run_command(f'python -m neobuilder.cli.neobuilder -b {BUILD_ROOT} sandbox {PROTO_ROOT}')
stdout, stderr, retcode = run_command(f'python -m neobuilder.cli.neobuilder -b {BUILD_ROOT} {package_name} {PROTO_ROOT}')
log.info(f'{stdout=}')
log.info(f'{stderr=}')
log.info(f'{retcode=}')
Expand Down

0 comments on commit 913d5cc

Please sign in to comment.