home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 585872538

This data as json

html_url issue_url id node_id user created_at updated_at author_association body reactions issue performed_via_github_app
https://github.com/simonw/datasette/issues/670#issuecomment-585872538 https://api.github.com/repos/simonw/datasette/issues/670 585872538 MDEyOklzc3VlQ29tbWVudDU4NTg3MjUzOA== 9599 2020-02-13T17:22:54Z 2020-02-13T17:22:54Z OWNER

A couple of things I'd like to support: - The same datasette instance can have both PostgreSQL and SQLite databases attached to it, and both types will be listed on the homepage. - The full test suite runs against both SQLite and PostgreSQL, with as few changes as possible (maybe a few skipIf() decorators for features not available on both). Probably easiest do do this with some kind of flag - e.g. pytest --database=sqlite v.s. pytest --database=postgresql

I can implement that with this in conftest.py: python def pytest_addoption(parser): parser.addoption("--database", action="store", default="sqlite") See https://stackoverflow.com/questions/40880259/how-to-pass-arguments-in-pytest-by-command-line

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
564833696  
Powered by Datasette · Queries took 0.945ms · About: github-to-sqlite