Skip to content

Commit

Permalink
activate test and minor fix
Browse files Browse the repository at this point in the history
Signed-off-by: Yu Chin Fabian Lim <[email protected]>
  • Loading branch information
fabianlim committed May 15, 2024
1 parent 630dd42 commit c941faf
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,3 +47,7 @@ jobs:
run: |
cd plugins/${{ matrix.plugin_name }}
tox -e fmt
- name: Run pytest
run: |
cd plugins/${{ matrix.plugin_name }}
tox -e py
6 changes: 4 additions & 2 deletions plugins/framework/tests/test_framework.py
Original file line number Diff line number Diff line change
Expand Up @@ -272,14 +272,16 @@ def test_plugin_registration_order():

# build a set of hooks that register the activation order
def hook_builder(act_order=None):

if act_order is None:
act_order = []

def _hook(
self,
model,
train_args,
modifiable_args,
):
if act_order is None:
act_order = []
act_order.append(str(self.__class__))
return model, modifiable_args

Expand Down

0 comments on commit c941faf

Please sign in to comment.