forked from harrisony/slug
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use the test client to verify that publishing only one of the two events
in the fixture results in only that one event showing as published.
- Loading branch information
1 parent
7c96142
commit 798e12e
Showing
4 changed files
with
60 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
[ | ||
{ | ||
"fields": { | ||
"announcement": null, | ||
"created_by": 1, | ||
"created_on": "2012-02-25 23:26:18", | ||
"emailed": false, | ||
"end": "2012-03-30 20:00:00", | ||
"html": "<p>\n<h1> March 2012 SLUG Meeting </h1>\n</p>\n<p>\n<h1>Summary</h1>\n</p>\n<ul>\n<li>Date: Friday, March 30, 2012, 6 p.m.</li>\n<li>Start: Arrive at 6pm for a 6:30pm start</li>\n<li>Format: TBA</li>\n<li>RSVP: <a href=\"http://localhost:8000/event/2\">http://localhost:8000/event/2</a></li>\n<li>Suggest or sign up for a talk at <a href=\"http://localhost:8000/talks\">http://localhost:8000/talks</a></li>\n</ul>\n<p>\n<h1> Details </h1>\n</p>\n<p>Details TBA.</p>\n<p>\n<h1>Location</h1>\n</p>\n<p>Google Sydney\n Level 5, Workplace 6\n 48 Pirrama Road\n Pyrmont, NSW</p>\n<p>Map: <a href=\"http://localhost:8000/map\">http://localhost:8000/map</a></p>\n<p>\n<h2> Getting there </h2>\n</p>\n<p>The Google office is the big black building marked \"Accenture\" opposite\nStar City Pirrama Road facade.</p>\n<p>If using the trains, you can go either get off at;</p>\n<ul>\n<li>Town Hall station, head towards Darling Harbour, walk across the Pyrmont\n footbridge and then follow Pirrama Road towards Star city.</li>\n<li>Central station, then follow the light rail instructions.</li>\n</ul>\n<p>If using the buses, the route 443 stops right out front of the building.</p>\n<p>If using the light rail, get off at Star City station and walk across the\nstreet.</p>\n<p>If you drive, then you can look for parking on the suburban streets around\nthe office (or pay for parking at the Casino), and then walk from there.</p>\n<p>\n<h1> Afterwards </h1>\n</p>\n<p>We'll be aiming to finish by 8pm and will be heading to the Pyrmont Bridge\nHotel (PBH) afterwards to socalise and eat dinner. The PBH is marked on the\nmap.</p>", | ||
"input": "====== {{event.start|date:\"F\"}} {{event.start.year}} SLUG Meeting ======\r\n\r\n====Summary====\r\n\r\n * Date: Friday, {{event.start}}\r\n * Start: Arrive at 6pm for a 6:30pm start\r\n * Format: TBA\r\n * RSVP: http://{{ request.get_host }}{{event.get_url}}\r\n * Suggest or sign up for a talk at http://{{ request.get_host }}/talks\r\n\r\n==== Details ====\r\n\r\n{% for item in agenda %}\r\n - {{ item.offer.displayname }} - {{ item.offer.title }}\r\n{% empty %}\r\nDetails TBA.\r\n{% endfor %}\r\n\r\n====Location====\r\n\r\n Google Sydney\r\n Level 5, Workplace 6\r\n 48 Pirrama Road\r\n Pyrmont, NSW\r\n\r\n Map: http://{{ request.get_host }}/map\r\n\r\n-- Getting there --\r\n\r\nThe Google office is the big black building marked \"Accenture\" opposite\r\nStar City Pirrama Road facade.\r\n\r\nIf using the trains, you can go either get off at;\r\n\r\n * Town Hall station, head towards Darling Harbour, walk across the Pyrmont\r\n footbridge and then follow Pirrama Road towards Star city.\r\n * Central station, then follow the light rail instructions.\r\n\r\nIf using the buses, the route 443 stops right out front of the building.\r\n\r\nIf using the light rail, get off at Star City station and walk across the\r\nstreet.\r\n\r\nIf you drive, then you can look for parking on the suburban streets around\r\nthe office (or pay for parking at the Casino), and then walk from there.\r\n\r\n=== Afterwards ===\r\n\r\nWe'll be aiming to finish by 8pm and will be heading to the Pyrmont Bridge\r\nHotel (PBH) afterwards to socalise and eat dinner. The PBH is marked on the\r\nmap.\r\n", | ||
"name": "Monthly Meeting", | ||
"plaintext": "====== March 2012 SLUG Meeting ======\r\n\r\n====Summary====\r\n\r\n * Date: Friday, March 30, 2012, 6 p.m.\r\n * Start: Arrive at 6pm for a 6:30pm start\r\n * Format: TBA\r\n * RSVP: http://localhost:8000/event/2\r\n * Suggest or sign up for a talk at http://localhost:8000/talks\r\n\r\n==== Details ====\r\n\r\n\r\nDetails TBA.\r\n\r\n\r\n====Location====\r\n\r\n Google Sydney\r\n Level 5, Workplace 6\r\n 48 Pirrama Road\r\n Pyrmont, NSW\r\n\r\n Map: http://localhost:8000/map\r\n\r\n-- Getting there --\r\n\r\nThe Google office is the big black building marked \"Accenture\" opposite\r\nStar City Pirrama Road facade.\r\n\r\nIf using the trains, you can go either get off at;\r\n\r\n * Town Hall station, head towards Darling Harbour, walk across the Pyrmont\r\n footbridge and then follow Pirrama Road towards Star city.\r\n * Central station, then follow the light rail instructions.\r\n\r\nIf using the buses, the route 443 stops right out front of the building.\r\n\r\nIf using the light rail, get off at Star City station and walk across the\r\nstreet.\r\n\r\nIf you drive, then you can look for parking on the suburban streets around\r\nthe office (or pay for parking at the Casino), and then walk from there.\r\n\r\n=== Afterwards ===\r\n\r\nWe'll be aiming to finish by 8pm and will be heading to the Pyrmont Bridge\r\nHotel (PBH) afterwards to socalise and eat dinner. The PBH is marked on the\r\nmap.\r\n", | ||
"published": false, | ||
"start": "2012-03-30 18:00:00" | ||
}, | ||
"model": "usergroup.event", | ||
"pk": 1 | ||
}, | ||
{ | ||
"fields": { | ||
"announcement": null, | ||
"created_by": 2, | ||
"created_on": "2012-03-20 12:21:05", | ||
"emailed": false, | ||
"end": "2012-03-30 20:00:00", | ||
"html": "<p>\n<h1> March 2012 SLUG Meeting </h1>\n</p>\n<p>\n<h1>Summary</h1>\n</p>\n<ul>\n<li>Date: Friday, March 30, 2012, 6 p.m.</li>\n<li>Start: Arrive at 6pm for a 6:30pm start</li>\n<li>Format: TBA</li>\n<li>RSVP: <a href=\"http://localhost:8000/event/3\">http://localhost:8000/event/3</a></li>\n<li>Suggest or sign up for a talk at <a href=\"http://localhost:8000/talks\">http://localhost:8000/talks</a></li>\n</ul>\n<p>\n<h1> Details </h1>\n</p>\n<p>Details TBA.</p>\n<p>\n<h1>Location</h1>\n</p>\n<p>Google Sydney\n Level 5, Workplace 6\n 48 Pirrama Road\n Pyrmont, NSW</p>\n<p>Map: <a href=\"http://localhost:8000/map\">http://localhost:8000/map</a></p>\n<p>\n<h2> Getting there </h2>\n</p>\n<p>The Google office is the big black building marked \"Accenture\" opposite\nStar City Pirrama Road facade.</p>\n<p>If using the trains, you can go either get off at;</p>\n<ul>\n<li>Town Hall station, head towards Darling Harbour, walk across the Pyrmont\n footbridge and then follow Pirrama Road towards Star city.</li>\n<li>Central station, then follow the light rail instructions.</li>\n</ul>\n<p>If using the buses, the route 443 stops right out front of the building.</p>\n<p>If using the light rail, get off at Star City station and walk across the\nstreet.</p>\n<p>If you drive, then you can look for parking on the suburban streets around\nthe office (or pay for parking at the Casino), and then walk from there.</p>\n<p>\n<h1> Afterwards </h1>\n</p>\n<p>We'll be aiming to finish by 8pm and will be heading to the Pyrmont Bridge\nHotel (PBH) afterwards to socalise and eat dinner. The PBH is marked on the\nmap.</p>", | ||
"input": "====== {{event.start|date:\"F\"}} {{event.start.year}} SLUG Meeting ======\r\n\r\n====Summary====\r\n\r\n * Date: Friday, {{event.start}}\r\n * Start: Arrive at 6pm for a 6:30pm start\r\n * Format: TBA\r\n * RSVP: http://{{ request.get_host }}{{event.get_url}}\r\n * Suggest or sign up for a talk at http://{{ request.get_host }}/talks\r\n\r\n==== Details ====\r\n\r\n{% for item in agenda %}\r\n - {{ item.offer.displayname }} - {{ item.offer.title }}\r\n{% empty %}\r\nDetails TBA.\r\n{% endfor %}\r\n\r\n====Location====\r\n\r\n Google Sydney\r\n Level 5, Workplace 6\r\n 48 Pirrama Road\r\n Pyrmont, NSW\r\n\r\n Map: http://{{ request.get_host }}/map\r\n\r\n-- Getting there --\r\n\r\nThe Google office is the big black building marked \"Accenture\" opposite\r\nStar City Pirrama Road facade.\r\n\r\nIf using the trains, you can go either get off at;\r\n\r\n * Town Hall station, head towards Darling Harbour, walk across the Pyrmont\r\n footbridge and then follow Pirrama Road towards Star city.\r\n * Central station, then follow the light rail instructions.\r\n\r\nIf using the buses, the route 443 stops right out front of the building.\r\n\r\nIf using the light rail, get off at Star City station and walk across the\r\nstreet.\r\n\r\nIf you drive, then you can look for parking on the suburban streets around\r\nthe office (or pay for parking at the Casino), and then walk from there.\r\n\r\n=== Afterwards ===\r\n\r\nWe'll be aiming to finish by 8pm and will be heading to the Pyrmont Bridge\r\nHotel (PBH) afterwards to socalise and eat dinner. The PBH is marked on the\r\nmap.\r\n", | ||
"name": "asfdadsf", | ||
"plaintext": "====== March 2012 SLUG Meeting ======\r\n\r\n====Summary====\r\n\r\n * Date: Friday, March 30, 2012, 6 p.m.\r\n * Start: Arrive at 6pm for a 6:30pm start\r\n * Format: TBA\r\n * RSVP: http://localhost:8000/event/3\r\n * Suggest or sign up for a talk at http://localhost:8000/talks\r\n\r\n==== Details ====\r\n\r\n\r\nDetails TBA.\r\n\r\n\r\n====Location====\r\n\r\n Google Sydney\r\n Level 5, Workplace 6\r\n 48 Pirrama Road\r\n Pyrmont, NSW\r\n\r\n Map: http://localhost:8000/map\r\n\r\n-- Getting there --\r\n\r\nThe Google office is the big black building marked \"Accenture\" opposite\r\nStar City Pirrama Road facade.\r\n\r\nIf using the trains, you can go either get off at;\r\n\r\n * Town Hall station, head towards Darling Harbour, walk across the Pyrmont\r\n footbridge and then follow Pirrama Road towards Star city.\r\n * Central station, then follow the light rail instructions.\r\n\r\nIf using the buses, the route 443 stops right out front of the building.\r\n\r\nIf using the light rail, get off at Star City station and walk across the\r\nstreet.\r\n\r\nIf you drive, then you can look for parking on the suburban streets around\r\nthe office (or pay for parking at the Casino), and then walk from there.\r\n\r\n=== Afterwards ===\r\n\r\nWe'll be aiming to finish by 8pm and will be heading to the Pyrmont Bridge\r\nHotel (PBH) afterwards to socalise and eat dinner. The PBH is marked on the\r\nmap.\r\n", | ||
"published": false, | ||
"start": "2012-03-30 18:00:00" | ||
}, | ||
"model": "usergroup.event", | ||
"pk": 2 | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters