Add platform-specific arch option unit test

This commit is contained in:
Joe Rickerby
2020-12-21 11:05:19 +00:00
parent f73b6083d5
commit 7c86223ff8
2 changed files with 23 additions and 2 deletions
+5 -2
View File
@@ -124,13 +124,16 @@ class DependencyConstraints:
class Architecture(str, Enum):
# mac/linux archs
x86_64 = 'x86_64'
i686 = 'i686'
aarch64 = 'aarch64'
ppc64le = 'ppc64le'
s390x = 's390x'
win32 = 'win32'
win_amd64 = 'win_amd64'
# windows archs
x86 = 'x86'
amd64 = 'AMD64'
@staticmethod
def parse_config(config: str, platform: str) -> 'List[Architecture]':