summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* update copyright.rsiddharth2016-05-111-1/+1
|
* Add `DescTBA` feature for LP Schedule.rsiddharth2016-05-111-0/+25
| | | | | | | From now on `DescTBA` can be given if the description for a session is not decided yet; `DescTBA` will be filtered out of the generated HTML. Addresses issue #4.
* Add test for `RoomTBA`.rsiddharth2016-05-111-0/+17
| | | | Addresses issue #4.
* Add `SpeakerTBA` feature for LP Schedule.rsiddharth2016-05-112-0/+168
| | | | | | | | From now on `SpeakerTBA` can be given if the speaker for a session is not decided yet; `SpeakerTBA` will be filtered out of the generated HTML. Addresses issue #4.
* Update LPiCal class.rsiddharth2016-03-191-2/+21
| | | | | | | - Detects when timeslot is not given and ignores that timeslot. - Detects when month, day not given and ignores that day. Addresses issue #8.
* updated tests/test_lps_gen.pyrsiddharth2016-03-181-1/+1
|
* Initial version of LPiCal class done.rsiddharth2016-03-181-11/+159
| | | | Addresses issue #8.
* Add LPiCal classrsiddharth2016-03-151-0/+61
| | | | | | | | | Contains two methods at the moment: - get_timeslot - get_month_day Addresses issue #8.
* changed tests/files/lp-sch.mdrsiddharth2016-03-052-9/+4
| | | | | | In some places use inline links. Addresses issue #3.
* Fixed TestLPS.test_RenderHTML_sessions_onlyrsiddharth2016-03-051-1/+1
|
* updated tests/files/lp-sch.mdrsiddharth2016-02-171-1/+1
|
* Comments work out of the box.rsiddharth2016-02-171-0/+6
| | | | | | | | As described here: https://stackoverflow.com/questions/4823468/comments-in-markdown Addresses #5.
* removed tests/files/index.htmlrsiddharth2016-02-131-52/+0
|
* Templates are now at /libreplanet-templates/rsiddharth2016-02-133-255/+8
|
* Added test sessions and speakers (MD) files.rsiddharth2016-02-132-0/+153
| | | | | | Used for testing autolinking in sessions. Addresses issue #7.
* cosemetic changes to tests/test_lps_gen.pyrsiddharth2016-02-131-43/+46
|
* Autolinking of speakers in sessions page ready.rsiddharth2016-02-131-4/+209
| | | | | | | | | | | | | | | | If "John Hacker" is the speaker that has to be autolinked in the sessions MD file; the markup to autolink is [John Hacker](). [John Hacker]() -> <a href="speakers.html#hacker">John Hacker</a>, if id for "John Hacker" is available in the `speaker.ids` file[1]. [1]: The `speakers.ids` file is automatically written to the disk (in the current working directory) when the speakers' bio page is generated. List of speakers that are autolinked but don't have an id, are written to the `speakers.noid` file when the sessions page is generated. Addresses issue #7.
* Fixed docstring and comments in TestJSONUtils.rsiddharth2016-02-131-3/+3
|
* LPSpeakersMarkdown writes speakers.ids to disk.rsiddharth2016-02-131-3/+23
| | | | | | | | The `speaker.ids` file contains a mapping of the speakers and their corresponding ids. This file will later be used by LPSMarkdown and LPSRenderer to auto link speakers while generating the sessions page. Addresses issue #7
* Introduced JSON utils.rsiddharth2016-02-131-0/+79
| | | | json_read and json_write
* tests/files/lp-sch-2016.jinja2: fixed an issue.rsiddharth2016-02-071-2/+2
| | | | Context changed from `schedule` -> `lp_dict`.
* Added template (under tests) for LP speakers' pagersiddharth2016-02-072-0/+134
| | | | Address issue #1.
* tests: updated docstrings.rsiddharth2016-02-071-2/+2
|
* updated LPSpeakersRenederer class.rsiddharth2016-02-072-19/+13
| | | | | | | | | | Changed the way speaker' bio are parsed into the lpspeakers_dict dictionary. As a side effect, there is no need to put a placeholder (NO_IMAGE) when the image for a speaker is not available. Addresses issue #1.
* tests/test_lps_gen.py: docstring update.rsiddharth2016-02-071-1/+1
|
* tests/test_lps_gen.py: keynote speaker test updt.rsiddharth2016-02-071-1/+1
| | | | `test_LPSpeakersMarkdown_keynotespeakers_imgalt` last photo is empty.
* tests/files/lp-speakers.md: removed image elementrsiddharth2016-02-071-2/+0
| | | | Under 'Clara Snowden'
* tests/files/lp-speakers.md: removed notorious spans.rsiddharth2016-02-071-11/+4
|
* Initial version LP Speakers Renderer ready.rsiddharth2016-02-062-2/+414
| | | | | | | | | | | | - 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
* Added tests/files/lp-sch-sessions-only.mdrsiddharth2016-01-281-0/+158
|
* updated template in testing area.rsiddharth2016-01-281-11/+17
| | | | | - Now it can accept empty "Day" and "Timeslot". - "RoomTBA" -> "" in final HTML.
* lps_gen accepts template as arg.rsiddharth2016-01-282-5/+124
| | | | | | | | | 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-202-2/+6
|
* 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-162-10/+12
| | | | `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.
* HTMLRender addedjantwisted2015-12-161-0/+52
|
* updated copyright header (authors -> contributors)rsiddharth2015-12-121-1/+1
|
* Added lps_gen.py + tests for it.rsiddharth2015-12-122-0/+335
| | | | | Contains `LPSRenderer` and `LPSMarkdown` classes which convert a given Markdown LP schedule text to a python dictionary (OrderedDict).
* Removed modules under `lpschedule`rsiddharth2015-12-122-48/+0
| | | | Corresponding test modules were also deleted.
* Added license info.rsiddharth2015-10-062-0/+36
| | | | | | | | | new file: COPYING modified: lpschedule/file.py modified: lpschedule/generator.py modified: setup.py modified: tests/file_tests.py modified: tests/generator_tests.py
* Added dummy modules lpschedule.file, lpschedule.generator.rsiddharth2015-10-011-0/+0
| | | | | | new file: lpschedule/file.py new file: lpschedule/generator.py new file: tests/file_tests.py
* renamed: tests/lpschedule_tests.py -> tests/generator_tests.pyrsiddharth2015-10-011-0/+0
|
* Initial commitrsiddharth2015-10-012-0/+12