Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

updated sa_gunicorn #829

Closed
wants to merge 2 commits into from
Closed

updated sa_gunicorn #829

wants to merge 2 commits into from

Conversation

ali96343
Copy link
Contributor

No description provided.

@ali96343 ali96343 closed this Nov 13, 2023
@ali96343
Copy link
Contributor Author

tests/test_tags.py:10:


/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/pydal/tools/tags.py:12: in init
self.tag_table = tag_table or self._make_tag_table()


self = <pydal.tools.tags.Tags object at 0x7fef7edf5c10>

def _make_tag_table(self):
  db.define_table(
        table._tablename + "_tag_" + name,
        Field("tagpath"),
        Field("record_id", table),
    )

E NameError: name 'db' is not defined

/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/pydal/tools/tags.py:15: NameError

---------- coverage: platform linux, python 3.8.18-final-0 -----------
Coverage HTML written to dir cov.html

=========================== short test summary info ============================
FAILED tests/test_tags.py::TestTags::test_tags - NameError: name 'db' is not defined
======================== 1 failed, 23 passed in 29.81s =========================
Error: Process completed with exit code 1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant