Skip to content
This repository has been archived by the owner on Jun 15, 2018. It is now read-only.

Commit

Permalink
s/ian/iliana/g
Browse files Browse the repository at this point in the history
  • Loading branch information
iliana committed Mar 15, 2017
1 parent 709d8dc commit e531dab
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 16 deletions.
2 changes: 1 addition & 1 deletion AUTHORS
@@ -1,6 +1,6 @@
Thanks to everybody who has contributed to simplemediawiki:

Ian Weller <iweller@redhat.com>
Iliana Weller <ilianaw@buttslol.net>
Sandro Knauß <bugs@sandroknauss.de>
Andrew Wang <andrewwang43@gmail.com>
Tsukasa Hamano <code@cuspy.org>
4 changes: 2 additions & 2 deletions docs/conf.py
Expand Up @@ -181,7 +181,7 @@
# (source start file, target name, title, author, documentclass [howto/manual]).
latex_documents = [
('index', 'simplemediawiki.tex', 'simplemediawiki Documentation',
'Ian Weller', 'manual'),
'Iliana Weller', 'manual'),
]

# The name of an image file (relative to this directory) to place at the top of
Expand Down Expand Up @@ -214,5 +214,5 @@
# (source start file, name, description, authors, manual section).
man_pages = [
('index', 'simplemediawiki', 'simplemediawiki Documentation',
['Ian Weller'], 1)
['Iliana Weller'], 1)
]
6 changes: 3 additions & 3 deletions setup.py
Expand Up @@ -26,9 +26,9 @@
setup(name='simplemediawiki',
version=version,
description='Extremely low-level wrapper to the MediaWiki API',
author='Ian Weller',
author_email='iweller@redhat.com',
url='https://github.com/ianweller/python-simplemediawiki',
author='Iliana Weller',
author_email='ilianaw@buttslol.net',
url='https://github.com/ilianaw/python-simplemediawiki',
classifiers=[
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 3',
Expand Down
5 changes: 2 additions & 3 deletions simplemediawiki.py
@@ -1,6 +1,6 @@
# python-simplemediawiki - Extremely low-level wrapper to the MediaWiki API
# Copyright (C) 2013 Red Hat, Inc. and others.
# Primary maintainer: Ian Weller <iweller@redhat.com>
# See the AUTHORS file for credits.
#
# This library is free software; you can redistribute it and/or modify it under
# the terms of the GNU Lesser General Public License as published by the Free
Expand Down Expand Up @@ -58,10 +58,9 @@
else:
raise SystemExit("Your Python is severely out of date.")

__author__ = 'Ian Weller <iweller@redhat.com>'
__version__ = '1.1.2'
DEFAULT_UA = " ".join(('python-simplemediawiki/{0}'.format(__version__),
'+https://github.com/ianweller/python-simplemediawiki'))
'+https://github.com/ilianaw/python-simplemediawiki'))


class MediaWiki(object):
Expand Down
12 changes: 5 additions & 7 deletions tests/test_mediawiki.py
Expand Up @@ -9,9 +9,8 @@ class MediaWikiTest(unittest.TestCase):
def setUp(self):
self.user_agent = simplemediawiki.build_user_agent(
'python-simplemediawiki test suite', simplemediawiki.__version__,
'https://github.com/ianweller/python-simplemediawiki')
self.mw = simplemediawiki.MediaWiki(('https://simplemediawikitestsuite'
'-ianweller.rhcloud.com/api.php'),
'https://github.com/ilianaw/python-simplemediawiki')
self.mw = simplemediawiki.MediaWiki('FIXME/api.php',
user_agent=self.user_agent)

def test_call(self):
Expand All @@ -24,8 +23,7 @@ def test_normalize_api_url_apidotphp(self):
self.assertTrue(self.mw.normalize_api_url() is not None)

def test_normalize_api_url_indexdotphp(self):
mw = simplemediawiki.MediaWiki(('https://simplemediawikitestsuite'
'-ianweller.rhcloud.com/index.php'),
mw = simplemediawiki.MediaWiki('FIXME/index.php',
user_agent=self.user_agent)
self.assertTrue(mw.normalize_api_url() is not None)
self.assertTrue('api.php' in mw._api_url)
Expand Down Expand Up @@ -69,8 +67,8 @@ def test_parse_date(self):
def test_build_user_agent(self):
user_agent = simplemediawiki.build_user_agent(
'python-simplemediawiki test suite', simplemediawiki.__version__,
'https://github.com/ianweller/python-simplemediawiki')
'https://github.com/ilianaw/python-simplemediawiki')
self.assertTrue('python-simplemediawiki' in user_agent)
self.assertTrue(simplemediawiki.__version__ in user_agent)
self.assertTrue('github.com/ianweller/python-simplemediawiki' in
self.assertTrue('github.com/ilianaw/python-simplemediawiki' in
user_agent)

0 comments on commit e531dab

Please sign in to comment.