codeplain 0.3.11.dev16__py3-none-any.whl → 0.3.11.dev17__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: codeplain
3
- Version: 0.3.11.dev16
3
+ Version: 0.3.11.dev17
4
4
  Summary: Transform plain language specifications into working code
5
5
  License-File: LICENSE
6
6
  Classifier: Environment :: Console
@@ -72,7 +72,7 @@ tests/__init__.py,sha256=Wk73Io62J15BtlLVIzxmASDWaaJkQLevS4BLK5LDAQg,16
72
72
  tests/conftest.py,sha256=QZcp08htUlJGgmHDlRWFgsWXZ8o8IBWTD5QqJaUMlU8,790
73
73
  tests/test_arg_provenance.py,sha256=d_J7aCeHMXBpctBWTt60WU-I8pEKN7XRXRTJZZGCdo0,3441
74
74
  tests/test_change_detection.py,sha256=jH8SEhndX400DNqIKmcYLzxHqq9WFdgmuvY3XPq-ZFc,13534
75
- tests/test_cli_output.py,sha256=aRgq9d06aXZMAx1Qyi68LPX0-VDoZ29pYsncat5rs8Q,18947
75
+ tests/test_cli_output.py,sha256=9yTk0pD2w6vkiSdSkYwneUmEtNqX4x64F6PzYShUEcw,19331
76
76
  tests/test_conformance_fix_journal.py,sha256=olTeAuxXgFwQ8LSQyt0FqtBy9_XY_gK-Ei_pUuJ0C3M,10389
77
77
  tests/test_console_log_styles.py,sha256=sxlhynMAP-kmqhBn1-pKvZXdCnlKSyCGJqwYKrh6sQ0,6468
78
78
  tests/test_distill_conformance_test_memory.py,sha256=Tftw9l-gLVwIU6QttY03h2VedvuFxpIsCmZIzvWfxMA,5481
@@ -116,8 +116,8 @@ tui/spinner.py,sha256=Ro6Gd9Przf-whuHqPRY6HwI0T57yJjyNPbhDbigZKZE,2471
116
116
  tui/state_handlers.py,sha256=zbUS_D9eU8qIwVpaxPEp9zL9bpg8gXsWNoUaqg9TLrQ,16664
117
117
  tui/styles.css,sha256=kiC7Og_2G1E7owoiZgV95-3_dSeQnsNj3qzaY04xkDg,6727
118
118
  tui/widget_helpers.py,sha256=jitm2WHiKj-NVFL-hULxWzckPreRbUTl9OIZLN31-ek,6997
119
- codeplain-0.3.11.dev16.dist-info/METADATA,sha256=78SIF_oAZUEh8P1xmxcWNAVvgW58_nmpg3uk_alzOZk,7257
120
- codeplain-0.3.11.dev16.dist-info/WHEEL,sha256=W3fkpkm7-wf9vBI5Z-7s0eWkeM-spu78I8Neb98DeEg,87
121
- codeplain-0.3.11.dev16.dist-info/entry_points.txt,sha256=oDZkBqu9WhtZApb_K6ia8-fn9aojwmAsgnKELceX5T4,46
122
- codeplain-0.3.11.dev16.dist-info/licenses/LICENSE,sha256=pCeKgQ1mXE5OmNUuKOfOZh1T1vqkeCUxghE7N8qgnzc,11345
123
- codeplain-0.3.11.dev16.dist-info/RECORD,,
119
+ codeplain-0.3.11.dev17.dist-info/METADATA,sha256=II9TqLOmkx5BY2vKCDWHG-ibzpQ0we6NPkrJnKjoFmM,7257
120
+ codeplain-0.3.11.dev17.dist-info/WHEEL,sha256=W3fkpkm7-wf9vBI5Z-7s0eWkeM-spu78I8Neb98DeEg,87
121
+ codeplain-0.3.11.dev17.dist-info/entry_points.txt,sha256=oDZkBqu9WhtZApb_K6ia8-fn9aojwmAsgnKELceX5T4,46
122
+ codeplain-0.3.11.dev17.dist-info/licenses/LICENSE,sha256=pCeKgQ1mXE5OmNUuKOfOZh1T1vqkeCUxghE7N8qgnzc,11345
123
+ codeplain-0.3.11.dev17.dist-info/RECORD,,
tests/test_cli_output.py CHANGED
@@ -216,8 +216,10 @@ class TestDisplayStatusMessage:
216
216
  }
217
217
  _display_status_message(plan_credits, [], [])
218
218
 
219
- # Should not print warning message
220
- mock_console.print.assert_not_called()
219
+ mock_console.print.assert_called_once()
220
+ call_args = mock_console.print.call_args[0][0]
221
+ assert "To manage your plan" in call_args
222
+ assert "No rendering credits remaining" not in call_args
221
223
 
222
224
  @patch("cli_output.status.console")
223
225
  def test_has_active_purchased_credits(self, mock_console):
@@ -230,8 +232,10 @@ class TestDisplayStatusMessage:
230
232
  ]
231
233
  _display_status_message(None, purchased_credits, [])
232
234
 
233
- # Should not print warning message
234
- mock_console.print.assert_not_called()
235
+ mock_console.print.assert_called_once()
236
+ call_args = mock_console.print.call_args[0][0]
237
+ assert "To manage your plan" in call_args
238
+ assert "No rendering credits remaining" not in call_args
235
239
 
236
240
  @patch("cli_output.status.console")
237
241
  def test_has_active_promo_credits(self, mock_console):
@@ -244,8 +248,10 @@ class TestDisplayStatusMessage:
244
248
  ]
245
249
  _display_status_message(None, [], promo_credits)
246
250
 
247
- # Should not print warning message
248
- mock_console.print.assert_not_called()
251
+ mock_console.print.assert_called_once()
252
+ call_args = mock_console.print.call_args[0][0]
253
+ assert "To manage your plan" in call_args
254
+ assert "No rendering credits remaining" not in call_args
249
255
 
250
256
  @patch("cli_output.status.console")
251
257
  def test_no_credits_remaining(self, mock_console):