summaryrefslogtreecommitdiffstats
path: root/tests/test_lps_gen.py
Commit message (Collapse)AuthorAgeFilesLines
...
* Initial version LP Speakers Renderer ready.rsiddharth2016-02-061-2/+244
| | | | | | | | | | | | - New classes: - LPSpeakersRenderer - LPSpeakersMarkdown + tests for them - New package dependency - unidecode Address issue #1.
* tests/test_lps_gen.py: added test.rsiddharth2016-01-281-0/+10
| | | | - test_RenderHTML_sessions_only.
* tests/test_lps_gen.py: rename a testrsiddharth2016-01-281-1/+1
| | | | test_RenderHTML_invalid_year -> test_RenderHTML_nonexistent_template
* lps_gen accepts template as arg.rsiddharth2016-01-281-5/+7
| | | | | | | | | As per Zak's request, the script now requires the user to pass the template as (the first) argument to the script. The script does not use the template that is part of the lpschedule-generator module; indeed the internal template will be deleted later.
* updated tests/files/lp-sch.md + tests.rsiddharth2015-12-201-1/+2
|
* updated lps_gen.RenderHTMLrsiddharth2015-12-191-0/+1
| | | | When template is not found, instead of returning, it calls sys.exit(1).
* updated lps_gen.RenderHTMLrsiddharth2015-12-191-0/+14
| | | | | - Now handles the case when the template does not exist. - HTML output is now prettified by BeautifulSoup.
* tests/test_lps_gen.py (TestLpGen.RenderHTML)rsiddharth2015-12-191-1/+2
| | | | Cosmetic modification; does the same thing.
* 'speaker' -> 'speakers'rsiddharth2015-12-161-9/+9
| | | | `speakers` is always a list.
* HTMLRender -> RenderHTML + changes to it.rsiddharth2015-12-151-0/+6
| | | | | | `RenderHTML` (was `HTMLRender`) now uses `PackagLoader` instead of FileSystemLoader and the template are loaded from the templates/ directory.
* updated copyright header (authors -> contributors)rsiddharth2015-12-121-1/+1
|
* Added lps_gen.py + tests for it.rsiddharth2015-12-121-0/+165
Contains `LPSRenderer` and `LPSMarkdown` classes which convert a given Markdown LP schedule text to a python dictionary (OrderedDict).