We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 640109c commit f9db6efCopy full SHA for f9db6ef
appengine/cloudsql/main_test.py
@@ -11,7 +11,10 @@
11
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
# See the License for the specific language governing permissions and
13
# limitations under the License.
14
+
15
+import os
16
import re
17
+from unittest.case import SkipTest
18
19
import tests
20
import webtest
@@ -22,6 +25,8 @@
22
25
class TestMySQLSample(tests.AppEngineTestbedCase):
23
26
24
27
def setUp(self):
28
+ if not os.path.exists('/var/run/mysqld/mysqld.sock'):
29
+ raise SkipTest('No MySQL server found.')
30
super(TestMySQLSample, self).setUp()
31
self.app = webtest.TestApp(main.app)
32
0 commit comments