github.phpd.cn/thought-machine/please@v12.2.0+incompatible/test/config_rules/config_test.py (about)

     1  import sys
     2  import unittest
     3  
     4  
     5  class ConfigTest(unittest.TestCase):
     6  
     7      def test_flag_matches(self):
     8          """Test the flag matches as expected. It's always x86_64 because we don't build Please for x86."""
     9          self.assertEqual('--arch=x86_64', sys.argv[-1])