Skip to content
This repository was archived by the owner on May 28, 2022. It is now read-only.

Commit 145f7f9

Browse files
Stephen Romanskydideler
Stephen Romansky
authored andcommittedDec 19, 2014
Refactor rss related tests and resources for testing
Related #671 Related #484
1 parent 63a1aeb commit 145f7f9

File tree

4 files changed

+938
-3
lines changed

4 files changed

+938
-3
lines changed
 

‎src/freeseer/tests/plugins/importer/rss_feedparser/test_rss_feedparser.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,12 @@
3434
@pytest.yield_fixture
3535
def presentation_feed():
3636
httpretty.enable()
37-
38-
rss_file = os.path.join(os.path.dirname(__file__), 'presentation_feed.rss')
37+
rss_data_relative_path = os.path.join(os.pardir, os.pardir, os.pardir, 'resources', 'sample_rss_data')
38+
rss_file = os.path.join(os.path.dirname(__file__), rss_data_relative_path, 'summercamp2010.rss')
3939
with open(rss_file, 'r') as presentation_rss_file:
4040
rss_feed = presentation_rss_file.read()
4141

42-
json_file = os.path.join(os.path.dirname(__file__), 'presentation_feed.json')
42+
json_file = os.path.join(os.path.dirname(__file__), rss_data_relative_path, 'summercamp2010.json')
4343
with open(json_file, 'r') as presentation_json_file:
4444
json_data = json.load(presentation_json_file)
4545

‎src/freeseer/tests/resources/sample_rss_data/sc2011.rss

+935
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)
This repository has been archived.