##// END OF EJS Templates
First step in two-part process to rename directories to kallithea....
First step in two-part process to rename directories to kallithea. This first step is to change all references in the files where they refer to the old directory name.

File last commit:

r4186:7e5f8c12 kallithea-2.2.5-r...
r4186:7e5f8c12 kallithea-2.2.5-r...
Show More
test_feed.py
22 lines | 774 B | text/x-python | PythonLexer
from kallithea.tests import *
class TestFeedController(TestController):
def test_rss(self):
self.log_user()
response = self.app.get(url(controller='feed', action='rss',
repo_name=HG_REPO))
assert response.content_type == "application/rss+xml"
assert """<rss version="2.0">""" in response
def test_atom(self):
self.log_user()
response = self.app.get(url(controller='feed', action='atom',
repo_name=HG_REPO))
assert response.content_type == """application/atom+xml"""
assert """<?xml version="1.0" encoding="utf-8"?>""" in response
assert """<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-us">""" in response