Skip to content

Commit

Permalink
Fixed EE to work with tests
Browse files Browse the repository at this point in the history
  • Loading branch information
seba-aln committed Apr 8, 2024
1 parent da46d45 commit 98075f4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 2 additions & 0 deletions scripts/run-tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
os.chdir(os.path.join(REPO_ROOT))

tcmn = 'py.test tests --cov=pubnub --ignore=tests/manual/'
tcmn_ee = 'PN_ENABLE_EVENT_ENGINE=True pytest tests/integrational/asyncio/'
fcmn = 'flake8 --exclude=scripts/,src/,.cache,.git,.idea,.tox,._trial_temp/,venv/ --ignore F811,E402'


Expand All @@ -20,5 +21,6 @@ def run(command):


run(tcmn)
run(tcmn_ee)
# moved to separate action
# run(fcmn)
4 changes: 1 addition & 3 deletions tests/integrational/asyncio/test_where_now.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,9 @@
from pubnub.models.consumer.presence import PNWhereNowResult
from pubnub.pubnub_asyncio import AsyncioSubscriptionManager, PubNubAsyncio
from tests.helper import pnconf_sub_copy, pnconf_pam_copy
from tests.integrational.vcr_asyncio_sleeper import get_sleeper, VCR599Listener
from tests.integrational.vcr_helper import pn_vcr
from tests.integrational.vcr_asyncio_sleeper import VCR599Listener


# @pytest.mark.skip
# @pn_vcr.use_cassette(
# 'tests/integrational/fixtures/asyncio/where_now/single_channel.yaml',
# filter_query_parameters=['uuid', 'pnsdk'])
Expand Down

0 comments on commit 98075f4

Please sign in to comment.