Skip to content

Commit

Permalink
Add new media types (#114)
Browse files Browse the repository at this point in the history
  • Loading branch information
shann9955 committed Jul 18, 2022
1 parent fc49c45 commit 7754fde
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 4 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Expand Up @@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/).

## [Unreleased]

## [2.11.1] - 2022-07-15
### Added
- Added new media types

## [2.11.0] - 2022-05-20
### Added
- Added internal_error_comment to PurchaseResult class
Expand Down
4 changes: 2 additions & 2 deletions docs/conf.py
Expand Up @@ -64,10 +64,10 @@
#
# The short X.Y version.

version = '2.11.0'
version = '2.11.1'

# The full version, including alpha/beta/rc tags.
release = '2.11.0'
release = '2.11.1'

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
Expand Down
2 changes: 1 addition & 1 deletion pyticketswitch/__init__.py
@@ -1,4 +1,4 @@
from pyticketswitch.client import Client # NOQA


__version__ = "2.11.0"
__version__ = "2.11.1"
6 changes: 6 additions & 0 deletions pyticketswitch/client.py
Expand Up @@ -397,11 +397,17 @@ def add_optional_kwargs(self, params, availability=False,
'req_media_triplet_three': True,
'req_media_triplet_four': True,
'req_media_triplet_five': True,
'req_media_triplet_one_wide': True,
'req_media_triplet_two_wide': True,
'req_media_triplet_three_wide': True,
'req_media_triplet_four_wide': True,
'req_media_triplet_five_wide': True,
'req_media_seating_plan': True,
'req_media_square': True,
'req_media_landscape': True,
'req_media_marquee': True,
'req_video_iframe': True,
'req_media_supplier': True,
})

if cost_range:
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Expand Up @@ -4,7 +4,7 @@

setup(
name='pyticketswitch',
version='2.11.0',
version='2.11.1',
author='Ingresso',
author_email='systems@ingresso.co.uk',
url='https://github.com/ingresso-group/pyticketswitch/',
Expand Down
6 changes: 6 additions & 0 deletions tests/test_client.py
Expand Up @@ -359,11 +359,17 @@ def test_add_optional_kwargs_media(self, client):
'req_media_triplet_three': True,
'req_media_triplet_four': True,
'req_media_triplet_five': True,
'req_media_triplet_one_wide': True,
'req_media_triplet_two_wide': True,
'req_media_triplet_three_wide': True,
'req_media_triplet_four_wide': True,
'req_media_triplet_five_wide': True,
'req_media_seating_plan': True,
'req_media_square': True,
'req_media_landscape': True,
'req_media_marquee': True,
'req_video_iframe': True,
'req_media_supplier': True,
}

def test_add_optional_kwargs_cost_range(self, client):
Expand Down

0 comments on commit 7754fde

Please sign in to comment.