lpschedule-generator

libreplanet schedule generator - ricketyspace.net/lpschedule-generator
git clone git://git.ricketyspace.net/lpschedule-generator.git
Log | Files | Refs

commit 073e855f8de829479d8ebce3001c9985f34a480c
parent 1d64215d615847e21f8605664440c2caa9df0f45
Author: rsiddharth <rsd@gnu.org>
Date:   Sun,  9 Sep 2018 17:49:35 +0000

test_lps_gen.py: print -> print()

* tests/test_lps_gen.py (TestLPiCal.test_gen_ical)
(TestLPiCal.test_gen_ical_sessions_only)
(TestLPS.test_RenderHTML)
(TestLPS.test_RenderHTML_sessions_only): Update methods.

Diffstat:
tests/test_lps_gen.py | 10+++++-----
1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/tests/test_lps_gen.py b/tests/test_lps_gen.py @@ -309,13 +309,13 @@ class TestLPiCal(object): def test_gen_ical(self): """Testing LPiCal.gen_ical. """ - print self.lp_ical.gen_ical() + print(self.lp_ical.gen_ical()) def test_gen_ical_sessions_only(self): """Testing LPiCal.gen_ical with sessions only schedule. """ - print LPiCal(self.lps_dict_s_only, '2019').gen_ical() + print(LPiCal(self.lps_dict_s_only, '2019').gen_ical()) def test_to_ical(self): @@ -528,7 +528,7 @@ class TestLPS(object): """Testing `RenderHTML` function with LP schedule """ lps_html = RenderHTML(self.lps_dict, self.SCH_TEMPLATE) - print lps_html # TODO: Scrape and test html output + print(lps_html) # TODO: Scrape and test html output def test_RenderHTML_sessions_only(self): @@ -539,7 +539,7 @@ class TestLPS(object): lps_html = RenderHTML(self.markdown(md_content), self.SCH_TEMPLATE) - print lps_html # TODO: Scrape and test html output + print(lps_html) # TODO: Scrape and test html output @raises(SystemExit) def test_RenderHTML_nonexistent_template(self): @@ -940,7 +940,7 @@ class TestLPSpeakers(object): """Testing `RenderHTML` function with LP speakers """ lps_html = RenderHTML(self.lpspeakers_dict, self.SPEAKERS_TEMPLATE) - print lps_html # TODO: Scrape and test html output. + print(lps_html) # TODO: Scrape and test html output. def teardown(self):