We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a706a5e commit 57261caCopy full SHA for 57261ca
.travis.yml
@@ -14,7 +14,7 @@ install:
14
before_script:
15
- mysql -e 'CREATE DATABASE IF NOT EXISTS test;'
16
- psql -c 'create database test;' -U postgres
17
-script: python tests/sqltests.py
+script: python tests/sql.py
18
jobs:
19
include:
20
- stage: deploy
tests/flask/application.py
@@ -1,16 +1,13 @@
1
+import requests
2
from flask import Flask, render_template
3
4
+import cs50
5
+
6
app = Flask(__name__)
7
-import cs50
-import requests
8
@app.route("/")
9
def index():
10
def f():
11
res = requests.get("cs50.harvard.edu")
12
f()
13
return render_template("index.html")
-
-@app.route("/foo", methods=["POST"])
-def foo():
- return ""
tests/flask/cs50
@@ -0,0 +1 @@
+../../src/cs50
0 commit comments