def test_create_login_file_path(): value = { 'type': 'path', 'src': 'genome_paired_reads.fq.gz', 'dst': TMP_FILE_NAME } login.create_login_file(TMP_DIR, value) hlpr.assert_file_not_empty(TMP_PATH)
def test_create_login_file_literal(): value = {'type': 'literal', 'src': 'literal_string', 'dst': TMP_FILE_NAME} login.create_login_file(TMP_DIR, value) hlpr.assert_file_contents_equal(TMP_PATH, 'literal_string')
def test_create_login_file_path(): value = {"type": "path", "src": "genome_paired_reads.fq.gz", "dst": TMP_FILE_NAME} login.create_login_file(TMP_DIR, value) hlpr.assert_file_not_empty(TMP_PATH)
def test_create_login_file_literal(): value = {"type": "literal", "src": "literal_string", "dst": TMP_FILE_NAME} login.create_login_file(TMP_DIR, value) hlpr.assert_file_contents_equal(TMP_PATH, "literal_string")
def test_create_login_file_path(): value = {'type': 'path', 'src': 'short_read_assembler/genome_paired_reads.fq.gz', 'dst': TMP_FILE_NAME} login.create_login_file(TMP_DIR, value) hlpr.assert_file_not_empty(TMP_PATH)