Skip to content

Added four new acceptance tests RE Issue 4 - #723

Open
TomStudies wants to merge 1 commit into
LuteOrg:developfrom
TomStudies:issue4_acceptance_tests
Open

Added four new acceptance tests RE Issue 4#723
TomStudies wants to merge 1 commit into
LuteOrg:developfrom
TomStudies:issue4_acceptance_tests

Conversation

@TomStudies

Copy link
Copy Markdown

Referring to this issue: #4

Added four new acceptance tests aimed at addressing the following:

  • Languages: List languages
  • Texts: Delete text (book)
  • Terms: Search for terms
  • Backups: Backup setting defaults

These are done through modifications to the existing book and term feature files as well as a new mgmt feature file (I wasn't sure where else to put the language and backup ones) as well as modifications to conftest.py and lute_test_client.py.

inv all passes.

…nu, default backup settings being unchanged, deleting a book from the home page, and searching for terms.
@jzohrab jzohrab added this to Lute-v3 Aug 4, 2026
@jzohrab jzohrab moved this to In Progress in Lute-v3 Aug 4, 2026
@jzohrab

jzohrab commented Aug 4, 2026

Copy link
Copy Markdown
Collaborator

Thank you @TomStudies ! Running CI on it now, if any issues pop up you should get an email.

@jzohrab jzohrab self-assigned this Aug 8, 2026

@jzohrab jzohrab left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A request to remove some duplication, if you have time. If you don't, let me know and I should be able to do it quickly too. Cheers and thank you!

# print(f"RAW ROWSTRINGs = {rowstring}", flush=True)
return "\n".join([r for r in rowstring if r.strip() != ""]).strip()

def get_filtered_term_table_content(self):

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @TomStudies - most of this code is a copy of the code in get_term_table_content(self): -- duplication in code is bad, so is it possible to extract a helper function here to get the content? e.g. something like _get_term_table_content(self, rows) or similar, and then both methods could call that.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @jzohrab, sorry for the inconvenience! I totally see your point. I can get this done but not right away (I am on vacation and not sure when I will have time until August 16th or so.) I will tackle it then if there is no rush. :)

@jzohrab jzohrab assigned TomStudies and unassigned jzohrab Aug 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: In Progress

Development

Successfully merging this pull request may close these issues.

2 participants