Skip to content

Commit

Permalink
Remove crypt lib from testing
Browse files Browse the repository at this point in the history
  • Loading branch information
martinhoyer authored and philpep committed May 27, 2024
1 parent 40e3df1 commit fa48a25
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/test_modules.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.

import crypt
import datetime
import os
import re
Expand Down Expand Up @@ -257,7 +256,8 @@ def test_nonexistent_user(host):
def test_current_user(host):
assert host.user().name == "root"
pw = host.user().password
assert crypt.crypt("foo", pw) == pw
assert pw.startswith("$")
assert len(pw) == 73


def test_group(host):
Expand Down

0 comments on commit fa48a25

Please sign in to comment.