Skip to content

Commit e3ecfa3

Browse files
committed
test007 correction, whitespace 3/14/25
1 parent f7a051b commit e3ecfa3

3 files changed

Lines changed: 7 additions & 8 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ As a final note, in the "pam_password" scheme the default SSL requirement can be
198198
of testing only):
199199

200200
```python
201-
session = irods.session.iRODSSession(host = "localhost", port = 1247,
201+
session = irods.session.iRODSSession(host = "localhost", port = 1247,
202202
user = "alice", password = "test123", zone="tempZone",
203203
authentication_scheme = "pam_password")
204204

irods/test/scripts/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ now implemented in a development branch but slated for release in a later versio
66
of python-irodsclient. (See issue #502.)
77

88
Each BATS script is designed such that a "main" function is executed to assert
9-
the relevant test outcomes. In effect this is realized because BATS fails the
9+
the relevant test outcomes. In effect this is realized because BATS fails the
1010
test if any individual command in the function fails.
1111

1212
The BATS tests are designed to be run by the recipe below:

irods/test/scripts/test007_pam_features_in_new_auth_framework.bats

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,8 @@ setup()
2222

2323
teardown()
2424
{
25-
:
26-
; finalize_pam_login_for_alice
27-
; test_specific_cleanup
25+
finalize_pam_login_for_alice
26+
test_specific_cleanup
2827
}
2928

3029
@test main {
@@ -70,7 +69,7 @@ SSL_OPTIONS = {
7069
'irods_encryption_num_hash_rounds': 16,
7170
'irods_encryption_algorithm': 'AES-256-CBC'
7271
}
73-
ses = irods.session.iRODSSession(user = 'alice', password = '$ALICES_ORIGINAL_PAM_PASSWORD',
72+
ses = irods.session.iRODSSession(user = 'alice', password = '$ALICES_ORIGINAL_PAM_PASSWORD',
7473
host = 'localhost', port = 1247, zone = 'tempZone',
7574
authentication_scheme = 'pam_password', **SSL_OPTIONS)
7675
ses.collections.get(irods.helpers.home_collection(ses))
@@ -84,15 +83,15 @@ print ('env_auth_scheme=%s' % ses.pool.account._original_authentication_scheme)"
8483

8584
[ "$mc1" == "$mc2" ]
8685

87-
# Set a new password for alice and use prc_write_irodsA script to alter with chosen
86+
# Set a new password for alice and use prc_write_irodsA script to alter with chosen
8887
# time-to-live setting of 2000 seconds.
8988
sudo chpasswd <<< "alice:$ALICES_NEW_PASSWORD"
9089
prc_write_irodsA.py -i - --ttl=1 pam_password <<<"$ALICES_NEW_PASSWORD"
9190

9291
# Check we're able to login with the new password and correspondingly new .irodsA
9392
OUTPUT=$($PYTHON -c "$SCRIPT")
9493
[[ $OUTPUT = "env_auth_scheme=pam"* ]]
95-
94+
9695
age_out_pam_password alice 2000
9796

9897
OUTPUT=$($PYTHON -c "$SCRIPT")

0 commit comments

Comments
 (0)