<filename>aliens4friends/tests/manualtest_scancode.py<gh_stars>0
# SPDX-License-Identifier: Apache-2.0
# SPDX-FileCopyrightText: <NAME> <<EMAIL>>

import os
from pathlib import Path
import json

from aliens4friends.commands.scan import Scancode
from aliens4friends.commons.pool import Pool
from aliens4friends.commons.archive import Archive

CLEAN = True

def test_single():
	pool = Pool(
		os.path.join(
			os.getcwd(),
			"tmp",
			"pool"
		)
	)

	package_name = "acl"
	package_version_str = "2.2.53-2"

	res = Scancode.execute(pool, package_name, package_version_str)

	print(res)

def test_single_from_matcheroutput():
	pool = Pool(
		os.path.join(
			os.getcwd(),
			"tmp",
			"pool"
		)
	)

	Scancode.execute(pool)

<filename>aliens4friends/tests/manualtest_scancode.py<gh_stars>0
# SPDX-License-Identifier: Apache-2.0
# SPDX-FileCopyrightText: <NAME> <<EMAIL>>

import os
from pathlib import Path
import json

from aliens4friends.commands.scan import Scancode
from aliens4friends.commons.pool import Pool
from aliens4friends.commons.archive import Archive

CLEAN = True

def test_single():
	pool = Pool(
		os.path.join(
			os.getcwd(),
			"tmp",
			"pool"
		)
	)

	package_name = "acl"
	package_version_str = "2.2.53-2"

	res = Scancode.execute(pool, package_name, package_version_str)

	print(res)

def test_single_from_matcheroutput():
	pool = Pool(
		os.path.join(
			os.getcwd(),
			"tmp",
			"pool"
		)
	)

	Scancode.execute(pool)

# SPDX-License-Identifier: Apache-2.0 # SPDX-FileCopyrightText: <NAME> <<EMAIL>>