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

grays out site packages in tracebacks #33

Merged
merged 13 commits into from
Nov 1, 2017
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -14,7 +14,7 @@ install:
before_script:
- mysql -e 'CREATE DATABASE IF NOT EXISTS test;'
- psql -c 'create database test;' -U postgres
script: python tests/sqltests.py
script: python tests/sql.py
jobs:
include:
- stage: deploy
9 changes: 3 additions & 6 deletions tests/flask/application.py
Original file line number Diff line number Diff line change
@@ -1,16 +1,13 @@
import requests
from flask import Flask, render_template

import cs50

app = Flask(__name__)

import cs50
import requests
@app.route("/")
def index():
def f():
res = requests.get("cs50.harvard.edu")
f()
return render_template("index.html")

@app.route("/foo", methods=["POST"])
def foo():
return ""
1 change: 1 addition & 0 deletions tests/flask/cs50