Skip to content

Commit 683f33e

Browse files
kianmengphilpep
authored andcommitted
Fix typos
1 parent 3744c3e commit 683f33e

File tree

9 files changed

+14
-14
lines changed

9 files changed

+14
-14
lines changed

CHANGELOG.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ Changelog
121121
=====
122122

123123
* Add extras for backend dependencies (#454)
124-
* Various enhencements of kitchen integration documentation
124+
* Various enhancements of kitchen integration documentation
125125
* ansible backend now support "password" field from ansible inventory
126126
* New backend "openshift"
127127

@@ -134,7 +134,7 @@ Changelog
134134
=====
135135

136136
* New module "environment" for getting remote environment variables
137-
* New module "block_device" exposing block device informations
137+
* New module "block_device" exposing block device information
138138
* Add a global flag --force-ansible to the command line
139139
* Raise an error in case of missing ansible inventory file
140140
* Fix an escape issue with ansible ssh args set inventory or configuration file
@@ -189,7 +189,7 @@ Changelog
189189
3.0.1
190190
=====
191191

192-
* Fix parsing of ipv6 adresses for paramiko, ssh and ansible backends.
192+
* Fix parsing of ipv6 addresses for paramiko, ssh and ansible backends.
193193
* Fix --connection=ansible invocation when no hosts are provided
194194

195195
3.0.0
@@ -237,7 +237,7 @@ Changelog
237237
======
238238

239239
* Add support for ansible "become" user in ansible module
240-
* Add failed/suceeded property on run() output
240+
* Add failed/succeeded property on run() output
241241

242242
1.16.0
243243
======
@@ -338,7 +338,7 @@ Changelog
338338
1.7.0
339339
=====
340340

341-
* Salt: allow specifiy config directory (#230)
341+
* Salt: allow specify config directory (#230)
342342
* Add a WinRM backend
343343
* Socket: ipv6 sockets can handle ipv4 clients (#234)
344344
* Service: Enhance upstart detection (#243)

doc/source/backends.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Testinfra comes with several connections backends for remote command
55
execution.
66

77
When installing, you should select the backends you require as
8-
``extras`` to ensure Python dependencies are satisifed (note various
8+
``extras`` to ensure Python dependencies are satisfied (note various
99
system packaged tools may still be required). For example ::
1010

1111
$ pip install testinfra[ansible,salt]
@@ -85,7 +85,7 @@ The salt backend uses the `salt Python client API
8585

8686
Testinfra will use the salt connection channel to run commands.
8787

88-
Hosts can be seleted by using the `glob` and `compound matchers
88+
Hosts can be selected by using the `glob` and `compound matchers
8989
<https://docs.saltstack.com/en/latest/topics/targeting/compound.html>`_.
9090

9191

doc/source/examples.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ Integration with KitchenCI
138138

139139
KitchenCI (aka Test Kitchen) can use testinfra via its :code:`shell` verifier.
140140
Add the following to your :code:`.kitchen.yml`, this requires installing `paramiko`
141-
additionaly (on your host machine, not in the VM handled by kitchen) ::
141+
additionally (on your host machine, not in the VM handled by kitchen) ::
142142

143143
verifier:
144144
name: shell

test/test_modules.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -375,7 +375,7 @@ def test_ansible_module(host):
375375
assert passwd["owner"] == "root"
376376
assert isinstance(passwd["size"], int)
377377
assert passwd["path"] == "/etc/passwd"
378-
# seems to vary with differents docker fs backend
378+
# seems to vary with different docker fs backend
379379
assert passwd["state"] in ("file", "hard")
380380
assert passwd["uid"] == 0
381381

testinfra/backend/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ def get_encoding(self) -> str:
266266
if not encoding:
267267
encoding = locale.getpreferredencoding()
268268
if encoding == "ANSI_X3.4-1968":
269-
# Workaround defaut encoding ascii without LANG set
269+
# Workaround default encoding ascii without LANG set
270270
encoding = "UTF-8"
271271
return encoding
272272

testinfra/modules/iptables.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ def _run_iptables(self, version, cmd, *args):
5252
def rules(self, table="filter", chain=None, version=4):
5353
"""Returns list of iptables rules
5454
55-
Based on ouput of `iptables -t TABLE -S CHAIN` command
55+
Based on output of `iptables -t TABLE -S CHAIN` command
5656
5757
optionally takes takes the following arguments:
5858
- table: defaults to `filter`

testinfra/modules/systeminfo.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818

1919
class SystemInfo(InstanceModule):
20-
"""Return system informations"""
20+
"""Return system information"""
2121

2222
@cached_property
2323
def sysinfo(self):

testinfra/modules/user.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ def shell(self):
8888

8989
@property
9090
def password(self):
91-
"""Return the crypted user password"""
91+
"""Return the encrypted user password"""
9292
return self.check_output("getent shadow %s", self.name).split(":")[1]
9393

9494
@property

testinfra/utils/ansible_runner.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ def get_config(name, default=None):
170170

171171
spec = "{}://".format(connection)
172172

173-
# Fallback to user:pasword auth when identity file is not used
173+
# Fallback to user:password auth when identity file is not used
174174
if user and password and not kwargs.get("ssh_identity_file"):
175175
spec += "{}:{}@".format(user, password)
176176
elif user:

0 commit comments

Comments
 (0)