File tree Expand file tree Collapse file tree 5 files changed +338
-318
lines changed Expand file tree Collapse file tree 5 files changed +338
-318
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ #! /usr/bin/env bash
2
+
3
+ # Default Python Versions
4
+ # shellcheck source=bin/default_pythons
5
+ source " bin/default_pythons"
6
+
7
+ testAirflow () {
8
+ export SLUGIFY_USES_TEXT_UNIDECODE=" yes"
9
+ compile " airflow"
10
+ assertCaptured " apache-airflow==1.10.2"
11
+ assertCapturedSuccess
12
+ }
13
+
14
+ testCollectstatic () {
15
+ compile " collectstatic"
16
+ assertCaptured " collectstatic"
17
+ }
18
+
19
+ testGEOS () {
20
+ export BUILD_WITH_GEO_LIBRARIES=1
21
+ compile " geos"
22
+ assertCaptured " geos"
23
+ assertCapturedSuccess
24
+ }
25
+
26
+ testNLTK () {
27
+ # NOTE: This is a RuntimeWarning emitted by Python 3's runpy.py script
28
+ # which is what is used when you call `python -m <module>`. This is due to
29
+ # how nltk imports things. It's not actually an error, but it would probably
30
+ # be bad to silence in Production.
31
+ export PYTHONWARNINGS=" ignore::RuntimeWarning"
32
+ compile " nltk"
33
+ assertCaptured " [nltk_data] Downloading package city_database" " STD_ERR"
34
+ assertCapturedSuccess
35
+ }
36
+
37
+ testPsycopg2 () {
38
+ compile " psycopg2"
39
+ assertCaptured " psycopg2"
40
+ assertCapturedSuccess
41
+ }
42
+
43
+ testCffi () {
44
+ compile " cffi"
45
+ assertCaptured " cffi"
46
+ assertCapturedSuccess
47
+ }
48
+
49
+ testPylibmc () {
50
+ compile " pylibmc"
51
+ assertCaptured " pylibmc"
52
+ assertCapturedSuccess
53
+ }
54
+
55
+ pushd $( dirname 0) > /dev/null
56
+ popd > /dev/null
57
+
58
+ source $( pwd) /test/utils
59
+ source $( pwd) /test/shunit2
You can’t perform that action at this time.
0 commit comments