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 committed May 27, 2024
1 parent 54f3b5c commit 47645df
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 @@ -246,7 +245,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 47645df

Please sign in to comment.