Example #1
0
 def test_that_it_routes_correctly_for_the_list(self):
     assert_routing('/events/near/', views.near, name = 'events.near')
Example #2
0
 def test_that_it_routes(self):
     assert_routing('/events/', views.index, name = 'events')
Example #3
0
 def test_that_it_routes_correctly_for_the_map(self):
     assert_routing('/events/near/map/', views.near_map, name = 'events.near.map')
Example #4
0
 def test_that_it_routes(self):
     assert_routing('/events/create/', views.create, name = 'event.create')
Example #5
0
 def test_that_it_routes_correctly(self):
     assert_routing('/events/12/', views.details, name = 'event', kwargs = {'event_id': '12'})
Example #6
0
 def test_that_it_routes(self):
     assert_routing('/events/new/', views.new, name = 'event.new')
 def test_that_it_routes_correctly(self):
     assert_routing('/events/e25388fde/', views.details, name = 'event', kwargs = {'event_hash': 'e25388fde'})
 def test_that_it_routes(self):
     assert_routing('/events/about/summer-code-party/partners/', views.partners, name = 'partners', kwargs = {'slug': 'summer-code-party'})
 def test_that_it_routes(self):
     assert_routing('/events/mine/', views.mine, name = 'events.mine')
 def test_that_it_routes_correctly_for_the_list(self):
     assert_routing('/events/near/', views.near, name = 'events.near')
 def test_that_it_routes(self):
     assert_routing('/events/feed.rss', views.IndexGeoRSSFeed, name = 'events-feed')
 def test_that_it_routes_correctly_for_the_map(self):
     assert_routing('/events/near/map/', views.near_map, name = 'events.near.map')
 def test_that_it_routes_correctly(self):
     assert_routing('/events/123456789/edit/', views.edit_or_update, name = 'event.edit', kwargs = {'event_hash': '123456789'})
 def test_that_it_routes(self):
     assert_routing('/events/', views.index, name = 'events')
Example #15
0
 def test_that_it_routes(self):
     assert_routing('/events/feed.rss', views.IndexGeoRSSFeed, name = 'events-feed')
 def test_that_it_routes(self):
     assert_routing('/events/new/', views.new, name = 'event.new')
Example #17
0
 def test_that_it_routes(self):
     assert_routing('/events/about/summer-code-party/partners/', views.partners, name = 'partners', kwargs = {'slug': 'summer-code-party'})
 def test_that_it_routes(self):
     assert_routing("/users/login/", views.login, name="login")
Example #19
0
 def test_that_it_routes(self):
     assert_routing('/users/login/', views.login, name='login')
 def test_that_it_routes(self):
     assert_routing('/events/create/', views.create, name = 'event.create')