Skip to content

Commit

Permalink
Add README warning and fix test erroneous syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
eeintech committed Aug 3, 2023
1 parent ae0554f commit 6969a60
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
[![Tests | Linting | Publishing](https://github.com/sparkmicro/Ki-nTree/actions/workflows/test_deploy.yaml/badge.svg)](https://github.com/sparkmicro/Ki-nTree/actions)
[![Coverage Status](https://coveralls.io/repos/github/sparkmicro/Ki-nTree/badge.svg?branch=main&service=github)](https://coveralls.io/github/sparkmicro/Ki-nTree?branch=main)

## :warning: InvenTree Compatibility
Ki-nTree currently only supports InvenTree `0.11` or older versions. InvenTree `0.12` introduced a new parameter template system which is not supported as of now, see https://github.com/sparkmicro/Ki-nTree/issues/165 for more details. The future versions of InvenTree (`0.13` and up) should be compatible with Ki-nTree again soon, and this page will be updated with the required InvenTree setup.

## :fast_forward: [Demo Video](https://youtu.be/YeWBqOCb4pw)

<img src="https://raw.githubusercontent.com/sparkmicro/Ki-nTree/main/images/doc/kintree_v1_example.png" width="auto" height="auto">
Expand Down
2 changes: 1 addition & 1 deletion run_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -463,7 +463,7 @@ def check_result(status: str, new_part: bool) -> bool:
elif method_idx == 14:
# Reload categories from file
cat_from_file = inventree_interface.build_category_tree(reload=False)
if isinstance(cat_from_file, list):
if isinstance(cat_from_file, type(list)):
print(f'{type(cat_from_file)} != list')
method_success = False

Expand Down

0 comments on commit 6969a60

Please sign in to comment.