aboutsummaryrefslogtreecommitdiffstats
path: root/tests/helpers.py (unfollow)
Commit message (Collapse)AuthorLines
2021-05-09Type hint the Metabase cog!Gravatar Chris-3/+4
Co-authored-by: Xithrius <[email protected]>
2021-05-10Remove test for un-available function.Gravatar rohan-13/+0
2021-05-10Make linter happy for life.Gravatar rohan-1/+0
2021-05-10Remove unused function.Gravatar rohan-16/+0
2021-05-09Adds Warning For Permission Error In PingGravatar Hassan Abouelela-2/+6
Mostly affects linux machines not running as root. Signed-off-by: Hassan Abouelela <[email protected]>
2021-05-09Adds Warning For Desynced Clock In Ping CommandGravatar Hassan Abouelela-1/+4
Signed-off-by: Hassan Abouelela <[email protected]>
2021-05-09Fixes Site Ping On LocalhostGravatar Hassan Abouelela-1/+3
Improves parsing of site URL, so the ping command works locally and in prod. Signed-off-by: Hassan Abouelela <[email protected]>
2021-05-09Revert changes to int eGravatar Chris-6/+6
This commit reverts the changes to int e, by giving the invoker instructions on how to access the export via int e. This means the metabase exports are not inserted to every int e envrionment. I have also added a seperate message in this commit to handle when the paste service is offline.
2021-05-09Pass raise_for_status as a kwarg for better readibilityGravatar Chris-28/+26
This means the handling of the response comes directly after the context manager rather than having to handle errors.
2021-05-09Use allowed strings converter in Metabase cogGravatar Chris-7/+8
This removes the need to manually validate user input. Co-authored-by: Numerlor <[email protected]>
2021-05-09Remove unneeded context manager in Metabase cog Gravatar ChrisJL-2/+1
StringIO as it has no underlying connections, so a context manager is not needed Co-authored-by: Numerlor <[email protected]>
2021-05-09Update warn to warning, due to deprecation Gravatar ChrisJL-2/+2
This commit also includes a minor docstring change Co-authored-by: Numerlor <[email protected]>
2021-05-09Fix minor grammer issues with metabase commentsGravatar Chris-4/+5
2021-05-09Add comment to int e for context with Metabase loadingGravatar Chris-0/+1
2021-05-09Save query outputs to the internal eval environment for ease of accessGravatar Chris-1/+18
2021-05-09Remove metabase redaction of link used while testingGravatar Chris-2/+0