We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 40e3df1 commit fa48a25Copy full SHA for fa48a25
test/test_modules.py
@@ -10,7 +10,6 @@
10
# See the License for the specific language governing permissions and
11
# limitations under the License.
12
13
-import crypt
14
import datetime
15
import os
16
import re
@@ -257,7 +256,8 @@ def test_nonexistent_user(host):
257
256
def test_current_user(host):
258
assert host.user().name == "root"
259
pw = host.user().password
260
- assert crypt.crypt("foo", pw) == pw
+ assert pw.startswith("$")
+ assert len(pw) == 73
261
262
263
def test_group(host):
0 commit comments