Skip to content

Commit 57261ca

Browse files
committedOct 30, 2017
tidied
1 parent a706a5e commit 57261ca

File tree

3 files changed

+5
-7
lines changed

3 files changed

+5
-7
lines changed
 

‎.travis.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ install:
1414
before_script:
1515
- mysql -e 'CREATE DATABASE IF NOT EXISTS test;'
1616
- psql -c 'create database test;' -U postgres
17-
script: python tests/sqltests.py
17+
script: python tests/sql.py
1818
jobs:
1919
include:
2020
- stage: deploy

‎tests/flask/application.py

+3-6
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,13 @@
1+
import requests
12
from flask import Flask, render_template
23

4+
import cs50
5+
36
app = Flask(__name__)
47

5-
import cs50
6-
import requests
78
@app.route("/")
89
def index():
910
def f():
1011
res = requests.get("cs50.harvard.edu")
1112
f()
1213
return render_template("index.html")
13-
14-
@app.route("/foo", methods=["POST"])
15-
def foo():
16-
return ""

‎tests/flask/cs50

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../src/cs50

0 commit comments

Comments
 (0)
Please sign in to comment.