Skip to content

Commit

Permalink
Added bogus test to debug Travis problems
Browse files Browse the repository at this point in the history
  • Loading branch information
agronholm committed May 11, 2016
1 parent 6d074eb commit 8c3966a
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions tests/test_component.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,22 @@
import os

import pytest
import subprocess
from py4j.java_gateway import JavaGateway, CallbackServerParameters

from asphalt.core.context import Context
from asphalt.py4j.component import Py4JComponent


def test_why_java_fails_to_run():
process = subprocess.run(['java', '-showversion'], stdout=subprocess.PIPE,
stderr=subprocess.PIPE)
print('return code: %d' % process.returncode)
print('stdout: %s' % process.stdout.decode())
print('stderr: %s' % process.stderr.decode())
assert process.returncode == 0


@pytest.mark.asyncio
async def test_default_gateway(caplog):
"""Test that the default gateway is started and is available on the context."""
Expand Down

0 comments on commit 8c3966a

Please sign in to comment.